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
| Parameter | Type | Description |
|---|---|---|
| origin | PointXY |
Returns:
void