ShapePathPointCollection

ShapePathPointCollection class

Represents all shape path points.

class ShapePathPointCollection;

Constructors

ConstructorDescription
constructor()Default Constructor.

Methods

MethodDescription
get(number)Gets shape path point by index.
add(number, number)Adds a path point in unit of EMUs.
getCount()@deprecated. Please use the ‘count’ property instead. 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:

ParameterTypeDescription
indexnumberThe index

Returns

Returns ShapePathPoint object

add(number, number)

Adds a path point in unit of EMUs.

add(x: number, y: number) : number;

Parameters:

ParameterTypeDescription
xnumberThe x coordinate.
ynumberThe y coordinate.

Remarks

NOTE: This member is now obsolete. Instead, please use the MoveTo,LineTo,CubicBezierTo and ArcTo methods in ShapePath. This method will be removed 12 months later since August 2025. Aspose apologizes for any inconvenience you may have experienced.

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;