Extending Flash |
|
|
|
| Objects > Path object > path.addPoint() | |||
Flash MX 2004.
path.addPoint(x,y)
x A floating-point number that specifies the x position of the point.
y A floating-point number that specifies the y position of the point.
Nothing.
Method; adds a point to the path.
The following example creates a new path, stores it in the myPath variable, and assigns the new point to the path:
var myPath = fl.drawingLayer.newPath(); myPath.addPoint(10, 100);
|
|
|
|