Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > magnetizeAtPoint

Surface.magnetizeAtPoint() method​

Magnetize the elements in the display, using the given point as the origin.

Signature:

magnetizeAtPoint(origin: PointXY): void;

Parameters​

ParameterTypeDescription
originPointXY

Returns:

void