add lineWidth public getter method