@mocanvas/editor · interface

PointsSnapIndicator

interface PointsSnapIndicator

"These points are in a line." The indicator drawn when edges or centres align.

points are in page space and are the *aligned* points themselves, not the line through them — the renderer decides how far to extend the line, which is a visual decision that depends on the zoom.


Properties · 3

id: string
points: VecLike[]
type: "points"

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.