@mocanvas/editor · interface
interface ScribbleItemOne live scribble, plus the bookkeeping that fades it out.
The scribble is what ends up in the instance record and on screen; the
rest is the manager's own state — how long the tail has left, and the last
point taken, so a stationary pointer does not stack duplicate points.
Properties · 5
delayRemaining: numberMilliseconds of delay still to burn before points start being shed.
id: stringnext: {The point most recently offered, appended on the next tick.
prev: {The last point appended, used to drop repeats.
scribble: Scribblemocanvas 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.