@mocanvas/editor · interface
interface TLDefaultDisplayValuesThe concrete values a default shape paints with, once its style props have been resolved against a theme and a colour mode.
This is the *default* set. A shape util may declare its own richer set (a note's body size, a label's padding) — see getDisplayValues.
Properties · 9
color: stringStroke / ink colour.
dash: stringThe dash style, passed through so a renderer can pick its own technique.
dashArray: readonly number[]Dash pattern in page units; empty for a continuous stroke.
fill: stringInterior colour, or "transparent" when the fill style is none.
fontFamily: stringCSS font stack.
fontSize: numberFont size in page units.
labelColor: stringText drawn on the shape.
lineHeight: numberLine height in page units.
strokeWidth: numberStroke width in page units.
Mentioned here
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.