@mocanvas/editor · interface
interface BoundsSnapGeometryThe points a shape contributes to bounds snapping.
Omitting points means "use my bounds" — the manager falls back to the four
corners and the centre of the shape's geometry bounds, which is what almost
every shape wants. Returning an **empty array** is the opposite instruction:
this shape contributes nothing and cannot be snapped to.
Properties · 1
points?: BoundsSnapPoint[]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.