Interface: InkState
Defined in: stroke-types.ts:87
The drawing, as data — what PencilSurface.ink returns.
strokes is everything still part of the picture since the last clear: retained strokes AND those flattened past the undo horizon (they lost their individual pixels, not their identity as data). An eraser stroke is in here too, tool: "erase" — it is part of the drawing. live is the strokes in flight, each carrying every point captured so far: emissions may be throttled, but a snapshot is cumulative, so no consumer ever misses a point.
Properties
live
live: readonly
InkStroke[]
Defined in: stroke-types.ts:89
strokes
strokes: readonly
InkStroke[]
Defined in: stroke-types.ts:88