ShapePathPointCollection
Contents
[
Hide
]ShapePathPointCollection class
Represents all shape path points.
class ShapePathPointCollection;
Constructors
Name | Description |
---|---|
constructor() | Default Constructor. |
Methods
Method | Description |
---|---|
get(number) | Gets shape path point by index. |
add(number, number) | Adds a path point. |
getCount() | Gets the number of elements contained in. |
isNull() | Checks whether the implementation object is null. |
constructor()
Default Constructor.
constructor();
get(number)
Gets shape path point by index.
get(index: number) : ShapePathPoint;
Parameters:
Parameter | Type | Description |
---|---|---|
index | number | The index |
Returns
Returns ShapePathPoint object
add(number, number)
Adds a path point.
add(x: number, y: number) : number;
Parameters:
Parameter | Type | Description |
---|---|---|
x | number | The x coordinate. |
y | number | The y coordinate. |
getCount()
Gets the number of elements contained in.
getCount() : number;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;