Skip to content

ObservablePoint.set method

ObservablePoint › set

Unofficial

Sets the point to a new x and y position.

Signature:

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

Parameters:

ParameterTypeDescription
x?numberPosition on the X axis.
y?numberPosition on the Y axis.

Returns: this — This point for chaining.