Flash CS3 Documentation |
|||
| Extending Flash > Objects > HalfEdge object | |||
Flash MX 2004.
The HalfEdge object is the directed side of the edge of a Shape object. An edge has two half edges. You can transverse the contours of a shape by "walking around" these half edges. For example, starting from a half edge, you can trace all the half edges around a contour of a shape, and return to the original half edge.
Half edges are ordered. One half edge represents one side of the edge; the other half edge represents the other side.
The following methods are available for the HalfEdge object:
|
Method |
Description |
|---|---|
|
Gets the Edge object for the HalfEdge object. |
|
|
Gets the next half edge on the current contour. |
|
|
Gets the HalfEdge object on the other side of the edge. |
|
|
Gets the preceding HalfEdge object on the current contour. |
|
|
Gets the Vertex object at the head of the HalfEdge object. |
The following properties are available for the HalfEdge object:
|
Property |
Description |
|---|---|
|
Read-only; a unique integer identifier for the HalfEdge object. |
|
|
An integer with a value of 0 or 1 that specifies the index for this HalfEdge object in the parent edge. |
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00004231.html