@mocanvas/editor · interface
interface ScribbleSessionOptionsHow a scribble looks and how it fades. Every field has a default.
Properties · 6
color?: stringStroke colour, as a theme colour name or CSS colour.
delay?: numberMilliseconds before the tail starts to disappear.
opacity?: number0..1.
shrink?: numberHow many points are shed per tick once the tail is shrinking.
size?: numberStroke width in page units.
taper?: booleanTaper the tail to a point rather than cutting it square.
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.