@mocanvas/mocanvas · interface
interface BrushOverlayUtilDisplayValuesThe paint a brush is drawn with, resolved against the live theme.
Separate from the options so an app can restyle *one* of them: overriding
getCustomDisplayValues changes the colours and leaves the geometry alone,
while configure({ radius }) changes the geometry and leaves the theme in
charge of the colours.
Properties · 2
fill: stringInterior colour, including its alpha.
stroke: stringOutline colour.
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.