@mocanvas/mocanvas · interface
interface StylePanelSectionsThe style rows the panel renders, in order, grouped as the panel groups them.
With a selection this is exactly what the selected shapes declare, so a line (colour, dash, size) never offers Font or Align; with nothing selected it is what the active drawing tool is about to create. Exported so the rule can be tested without a DOM.
Properties · 10
align: booleancolor: booleanColour swatch grids.
dash: booleanfill: booleanStroke and fill.
font: booleanText.
labelColor: booleanopacity: booleanShape-level, not a style: only with a selection.
shape: booleanThe geo picker.
size: booleanverticalAlign: booleanmocanvas 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.