@mocanvas/mocanvas · interface
interface GeoShapeUtilDisplayValues extends TLDefaultDisplayValuesWhat a geo shape paints with.
A geo shape is an outline *and* a label, and the label has a size and a
padding of its own that anything measuring the shape has to agree with —
which is why they are reported rather than recomputed at each call site. All
three have the shape's scale applied, unlike the shared set's fontSize.
Properties · 4
labelFontFamily: stringThe label's CSS font stack.
labelFontSize: numberThe label's font size in page units, scale applied.
labelPadding: numberPadding between the outline and its label, in page units.
scaledStrokeWidth: numberThe outline's width in page units, scale applied.
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.