ShapeSegmentPathCollection
Contents
[
Hide
]ShapeSegmentPathCollection class
Represents a creation path consisting of a series of moves, lines and curves that when combined will form a geometric shape.
class ShapeSegmentPathCollection;
Constructors
| Name | Description |
|---|---|
| constructor() | Default Constructor. |
Methods
| Method | Description |
|---|---|
| get(number) | Gets ShapeSegmentPath object. |
| add(ShapePathType) | Add a segment path in creation path. |
constructor()
Default Constructor.
constructor();
get(number)
Gets ShapeSegmentPath object.
get(index: number) : ShapeSegmentPath;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The index. |
Returns
Returns a ShapeSegmentPath object.
add(ShapePathType)
Add a segment path in creation path.
add(type: ShapePathType) : number;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | ShapePathType | The path type. |
Returns
Returns the position of ShapeSegmentPath object in the list.