Skip to main content

Home > @jsplumbtoolkit/core > Magnetizer > executeAtPoint

Magnetizer.executeAtPoint() method#

Run the magnetizer using the specified origin.

Signature:

executeAtPoint(origin: PointXY, options?: MagnetizerRunOptions<T>): Dictionary<{        original: PointXY;        current: PointXY;    }>;

Parameters#

ParameterTypeDescription
originPointXY
optionsMagnetizerRunOptions<T>

Returns:

Dictionary<{ original: PointXY; current: PointXY; }>