@mocanvas/editor · interface
interface SnapDataHow far a snap moved the thing being dragged.
Always an adjustment rather than a position: the caller has already worked out where the gesture wants to be, and snapping only ever nudges that. A zero nudge means nothing snapped, which callers can apply unconditionally.
Properties · 1
nudge: Vecmocanvas 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.