drawingLayer.lineTo()

Availability

Flash MX 2004.

Usage

drawingLayer.lineTo(x, y)

Parameters

x  A floating-point value that is the x coordinate of the end point of the line to draw.

y  A floating-point value that is the y coordinate of the end point of the line to draw.

Returns

Nothing.

Description

Method; draws a line from the current drawing position to the point (x,y). You typically use this method only when creating extensible tools.

Example

The following example draws a line from the current drawing position to the point (20,30):

fl.drawingLayer.lineTo(20, 30);

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/00004047.html