Type Alias DrawingKeyAction
DrawingKeyAction:
| { type: "undo" }
| { type: "redo" }
| { type: "copy" }
| { type: "cut" }
| { type: "paste" }
| { type: "duplicate" }
| { type: "delete" }
| { dx: number; dy: number; type: "nudge" }
| { type: "cancel" }
| { type: "finish" }
| { type: "popAnchor" }
Type declaration
- { type: "undo" }
- { type: "redo" }
- { type: "copy" }
- { type: "cut" }
- { type: "paste" }
- { type: "duplicate" }
- { type: "delete" }
- { dx: number; dy: number; type: "nudge" }
- { type: "cancel" }
- { type: "finish" }
- { type: "popAnchor" }
Move the selection by a screen distance;
dxright anddydown, in px.