RecordGizmoOptions
import type { RecordGizmoOptions } from 'pixi-silk/history';
Options of recordGizmo.
Type Parameters#
| Type Parameter |
|---|
T extends TransformTarget |
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
apply? | (target: T, transform: TransformSnapshot) => void | Writes a transform back on undo and redo. Default sets position, rotation and scale. | history.ts:491 |
label? | string | ((handle: string | null) => string) | Label of a step. Default from the handle: “Move”, “Rotate”, “Scale” or “Resize”. | history.ts:489 |