public void lineTo ( float x , float y ) { PathLineOperation operation = new PathLineOperation ( ) ; operation . x = x ; operation . y = y ; operations . add ( operation ) ; LineShadowOperation shadowOperation = new LineShadowOperation ( operation , endX , endY ) ; // The previous endX and endY is the starting point for this shadow operation. addShadowCompatOperation ( shadowOperation , ANGLE_UP + shadowOperation . getAngle ( ) , ANGLE_UP + shadowOperation . getAngle ( ) ) ; endX = x ; endY = y ; }
Add a line to the ShapePath .