Skip to content

ObservablePoint.set method

ObservablePoint › set

Unofficial

Sets the point to a new x and y position.

Signature:

set(x?: number | undefined, y?: number | undefined): this

Parameters:

ParameterTypeDescription
x?number | undefinedPosition on the X axis.
y?number | undefinedPosition on the Y axis.

Returns: thisThis point for chaining.