Extending Flash |
|
|
|
| Objects > Edge object > edge.getHalfEdge() | |||
Flash MX 2004.
edge.getHalfEdge(index)
index An integer that specifies which half edge to return. The value of index must be either 0 for the first half edge or 1 for the second half edge.
A HalfEdge object.
Method; returns a HalfEdge object.
The following example stores the half edges of the specified edge in the hEdge0 and hEdge1 variables:
var shape = fl.getDocumentDOM().selection[0]; var edge = shape.edges[0]; var hEdge0 = edge.getHalfEdge(0); var hEdge1 = edge.getHalfEdge(1);
|
|
|
|