ShapePathPoint

ShapePathPoint class

Represents an x-y coordinate within the path coordinate space.

class ShapePathPoint;

Methods

MethodDescription
getX()Gets and sets x coordinate for this position coordinate.
setX(number)Gets and sets x coordinate for this position coordinate.
getY()Gets y coordinate for this position coordinate.
setY(number)Gets y coordinate for this position coordinate.

getX()

Gets and sets x coordinate for this position coordinate.

getX() : number;

setX(number)

Gets and sets x coordinate for this position coordinate.

setX(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getY()

Gets y coordinate for this position coordinate.

getY() : number;

setY(number)

Gets y coordinate for this position coordinate.

setY(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.