drawingLayer.curveTo()

Availability

Flash MX 2004.

Usage

drawingLayer.curveTo(xCtl, yCtl, xEnd, yEnd)

Parameters

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.

Returns

Nothing.

Description

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.

Example

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