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. |
getCount() | Gets the number of elements contained in. |
isNull() | Checks whether the implementation object is null. |
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.
getCount()
Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;