@mocanvas/mocanvas · constant

HEXAGON_FLAT_SIDE_SPAN

declare const HEXAGON_FLAT_SIDE_SPAN = 0.5

Fraction of the box height spanned by the hexagon's two vertical sides. They are centred, so they run from (1 - span) / 2 to (1 + span) / 2 of the height, and the distance across them is the full box width.

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.