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
edge.getControl()
edge.getHalfEdge()
edge.setControl()
edge.splitEdge()
Property summary for the Edge object
The following properties are available for the Edge object:
Property
edge.id
edge.isLine
edge.getControl()
Availability
Flash MX 2004.
Usage
edge.getControl(i)
Parameters
An integer that specifies which control point of the edge to return. Specify 0 for the first
i
control point, 1 for the middle control point, or 2 for the end control point. If the
property is
true
beginning and ending control points.
Returns
The specified control point.
Description
Method; gets a point object set to the location of the specified control point of the edge.
142
Chapter 3: Objects
Description
Method; gets a point object set to the location of the specified control point of
the edge.
Method; returns a
Method; sets the position of the control point of the edge.
Method; splits the edge into two pieces.
Description
Read-only; an integer that represents a unique identifier for the edge.
Read-only; an integer with a value of 0 or 1.
, the middle control point is set to the midpoint of the segment joining the
HalfEdge
object.
CHAPTER 3
Objects
edge.isLine