Skip to main content

Home > @jsplumbtoolkit/connector-editors > relocateContinuousAnchor

relocateContinuousAnchor() function#

Signature:

export declare function relocateContinuousAnchor(anchor: LightweightContinuousAnchor, ep: Endpoint, pos: PointXY, dragEl: Element, constrainRect: BoundingBox, elementSize: Size, idx: number, connector: AbstractConnector, instance: BrowserJsPlumbInstance): PointXY;

Parameters#

ParameterTypeDescription
anchorLightweightContinuousAnchor
epEndpoint
posPointXY
dragElElement
constrainRectBoundingBox
elementSizeSize
idxnumber
connectorAbstractConnector
instanceBrowserJsPlumbInstance

Returns:

PointXY