Skip to main content

Home > @jsplumbtoolkit/core > calculateSpacingAdjustment

calculateSpacingAdjustment() function#

Signature:

export declare function calculateSpacingAdjustment(r1: BoundingBox, r2: BoundingBox): PointXY;

Parameters#

ParameterTypeDescription
r1BoundingBox
r2BoundingBox

Returns:

PointXY