HalfEdge object
291
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
hEdge
in the
otherHalfEdge
variable:
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.
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...