Edge object

Availability

Flash MX 2004.

Description

The Edge object represents an edge of a shape on the Stage.

Method summary for the Edge object

The following methods are available for the Edge object:

Method

Description

edge.getControl()

Gets a point object set to the location of the specified control point of the edge.

edge.getHalfEdge()

Returns a HalfEdge object.

edge.setControl()

Sets the position of the control point of the edge.

edge.splitEdge()

Splits the edge into two pieces.

Property summary for the Edge object

The following properties are available for the Edge object:

Property

Description

edge.id

Read-only; an integer that represents a unique identifier for the edge.

edge.isLine

Read-only; an integer with a value of 0 or 1.


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