Flash CS3 Documentation |
|||
| Extending Flash > Objects > drawingLayer object > drawingLayer.curveTo() | |||
Flash MX 2004.
drawingLayer.curveTo(xCtl,yCtl,xEnd,yEnd)
xCtl A floating-point value that is the x position of the control point.
yCtl A floating-point value that is the y position of the control point.
xEnd A floating-point value that is the x position of the end control point.
yEnd A floating-point value that is the y position of the end control point.
Nothing.
Method; draws a quadratic curve segment starting at the current drawing position and ending at a specified point. You typically use this method only when creating extensible tools.
The following example draws a quadratic curve using the specified control points:
fl.drawingLayer.curveTo(0, 0, 2, 0);
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00004043.html