@mocanvas/mocanvas · class
declare class ArrowBindingUtil extends BindingUtil<ArrowBinding>Keeps arrows attached to the shapes their terminals are bound to.
- When the bound shape changes, the arrow is rewritten so its geometry is
re-derived (and its static fallback stays current).
- When the bound shape goes away, or the binding is deleted with
isolateShapes, the terminal is frozen at its current page position.
Methods · 6
getDefaultProps(): ArrowBindingPropsonAfterChangeFromShape({ binding, shapeBefore, shapeAfter }: BindingOnShapeChangeOptions<ArrowBinding>): voidonAfterChangeToShape({ binding }: BindingOnShapeChangeOptions<ArrowBinding>): voidonBeforeDeleteToShape({ binding }: BindingOnShapeDeleteOptions<ArrowBinding>): voidonBeforeIsolateFromShape({ binding }: BindingOnShapeIsolateOptions<ArrowBinding>): voidonBeforeIsolateToShape({ binding }: BindingOnShapeIsolateOptions<ArrowBinding>): voidProperties · 1
static type: "arrow"mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.