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
, the middle control point is set to the midpoint of the segment
edge.isLine
true
joining the 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.
Example
The following example stores the first control point of the specified shape in the
variable:
pt
var shape = fl.getDocumentDOM().selection[0];
var pt = shape.edges[0].getControl(0);
edge.getHalfEdge()
Availability
Flash MX 2004.
Usage
edge.getHalfEdge(index)
Parameters
An integer that specifies which half edge to return. The value of
must be
index
index
either 0 for the first half edge or 1 for the second half edge.
Returns
A HalfEdge object.
Description
Method; returns a
HalfEdge
object.
186
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?