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:

Parameter Type Description
x? number | undefined Position on the X axis.
y? number | undefined Position on the Y axis.

Returns: thisThis point for chaining.