Variable: CanvasMessageType
constCanvasMessageType:object
Defined in: src/lib/messages/schema.ts:11
Kinds of drawing message
Type Declaration
Patch
readonlyPatch:"patch"="patch"
Pixels of the sender's whole drawing (all their layers, flattened) within an area
Redo
readonlyRedo:"redo"="redo"
The sender redid a step
Stroke
readonlyStroke:"stroke"="stroke"
A finished brush or eraser stroke
Undo
readonlyUndo:"undo"="undo"
The sender undid a step