Example
The following example stores the next half edge of the specified contour in the
nextHalfEdge
variable:
var shape = fl.getDocumentDOM().selection[0];
var hEdge = shape.edges[0].getHalfEdge( 0 );
var nextHalfEdge = hEdge.getNext();
halfEdge.getOppositeHalfEdge()
Availability
Flash MX 2004.
Usage
halfEdge.getOppositeHalfEdge()
Parameters
None.
Returns
A HalfEdge object.
Description
Method; gets the HalfEdge object on the other side of the edge.
Example
The following example stores the half edge opposite
in the
variable:
hEdge
otherHalfEdge
var shape = fl.getDocumentDOM().selection[0];
var hEdge = shape.edges[0].getHalfEdge(0);
var otherHalfEdge = hEdge.getOppositeHalfEdge();
halfEdge.getPrev()
Availability
Flash MX 2004.
Usage
halfEdge.getPrev()
Parameters
None.
HalfEdge object
291
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers