public void lineTo ( float x , float y ) { if ( hole != null ) { hole . add ( new float [ ] { x , y } ) ; } else { localPoints . add ( new float [ ] { x , y } ) ; } cx = x ; cy = y ; pointsDirty = true ; }
Add a line to the contour or hole which ends at the specified location .