@mocanvas/mocanvas · interface

SnapIndicatorOverlayUtilOptions

interface SnapIndicatorOverlayUtilOptions extends OverlayOptionsWithDisplayValues<SnapIndicatorOverlayUtilDisplayValues>

How snap guides are drawn.


Properties · 2

crossArm: number

Half-length of the × drawn at each aligned point, in CSS pixels. The crosses are what distinguish "these two edges are collinear" from "there happens to be a line here".

lineWidth: number

Guide weight, in CSS pixels.

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.