Flash MX 2004.
The Edge object represents an edge of a shape on the Stage.
The following methods are available for the Edge object:
| Method | Description |
|---|---|
| edge.getControl() | Gets a point object set to the location of the specified control point of the edge. |
| edge.getHalfEdge() | Returns a HalfEdge object. |
| edge.setControl() | Sets the position of the control point of the edge. |
| edge.splitEdge() | Splits the edge into two pieces. |
The following properties are available for the Edge object:
| Property | Description |
|---|---|
| edge.cubicSegmentIndex | An integer that specifies the index value of a cubic segment of the edge. |
| edge.id | Read-only; an integer that represents a unique identifier for the edge. |
| edge.isLine | Read-only; an integer with a value of 0 or 1. |
| edge.stroke | A Stroke object. |