ShapeSegmentPathCollection

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

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
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:

ParameterTypeDescription
indexnumberThe index.

Returns

Returns a ShapeSegmentPath object.

add(ShapePathType)

Add a segment path in creation path.

add(type: ShapePathType) : number;

Parameters:

ParameterTypeDescription
typeShapePathTypeThe 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;