ActionCommittedDelta extension
Methods
-
tryDrawStyle(
) → ({int colorArgb, double thickness, String tool})? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parses common draw style metadata from the action payload. -
tryEraserThickness(
) → double? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parses eraser metadata from the action payload. -
tryMoveLayerIndices(
) → ({int sourceLayerIndex, int targetLayerIndex})? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parses layer move metadata from the action payload. -
tryTransformDelta(
) → Transform2D? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parsespayload.deltainto a Transform2D when present and valid.