geomerative index |
Name | addMoveTo ( )
Examples |
    None available
Description | Use this method to add a new moveTo command to the shape. The command moveTo acts different to normal commands, in order to make a better analogy to its borthers classes Polygon and Mesh. MoveTo creates a new path in the shape. It's similar to adding a new contour to a polygon.
Syntax |
    addMoveTo(endx, endy);
    addMoveTo(p);
Parameters |
endx |  | float, the x coordinate of the first point for the new path.
endy |  | float, the y coordinate of the first point for the new path.
Returns | None
Usage | Web & Application
Related | addLineTo ( ) addQuadTo ( ) addBezierTo ( ) addPath ( ) setPath ( )