Interface: InkStroke
Defined in: stroke-types.ts:68
One stroke of the drawing, as raw material. points are the samples exactly as captured (canvas CSS px) — re-plan them with planStroke(points, params) to get every pipeline stage (filtered, cusps, densified, dabs), with the widget's own brush (surface.params()) or any other.
Properties
bornAt
bornAt:
number
Defined in: stroke-types.ts:74
Pen-DOWN time for a live stroke; pen-UP (the fade clock) once committed.
id
id:
string
Defined in: stroke-types.ts:69
points
points: readonly
PenSample[]
Defined in: stroke-types.ts:72
Never mutated after commit — safe to hold. A LIVE stroke's is a snapshot.
tool
tool:
Tool
Defined in: stroke-types.ts:70