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>): Record<string, {        original: PointXY;        current: PointXY;    }>;

Parameters#

ParameterTypeDescription
originPointXY
optionsMagnetizerRunOptions<T>

Returns:

Record<string, { original: PointXY; current: PointXY; }>