@mocanvas/editor · constant

DEFAULT_HATCH_SPACING

declare const DEFAULT_HATCH_SPACING = 6

Distance between hatch lines, in page units.

Page units, so a hatched shape keeps the same texture when the camera moves and a big shape is not a coarser version of a small one — the same reasoning that puts stroke widths in page units.

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.