@mocanvas/editor · constant

ELBOW_ARROW_SNAP_MODES

declare const ELBOW_ARROW_SNAP_MODES: readonly ["none", "edge", "center", "edge-point", "none-edge"]

Where an elbow arrow is allowed to attach when its terminal is bound to a shape: "none" keeps the stored point, "edge" snaps to the nearest edge, "center" to the shape's centre, "edge-point" to the nearest point on an edge, "none-edge" to an edge only while dragging.

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.