View as Markdown

API reference: @salmonui/editors/image-editor

ImageEditorEditStateinterface

import type { ImageEditorEditState } from '@salmonui/editors/image-editor';
interface ImageEditorEditState {
    readonly transform: ImageEditorTransform;
    readonly adjustments: ImageEditorAdjustments;
    readonly filter: ImageEditorFilter;
    readonly frame: ImageEditorFrame;
    readonly annotations: readonly ImageEditorAnnotation[];
}

The undoable edit: everything history records.

ImageEditorEditState members (5)
NameSignatureDescription
transformreadonly transform: ImageEditorTransform;
adjustmentsreadonly adjustments: ImageEditorAdjustments;
filterreadonly filter: ImageEditorFilter;
framereadonly frame: ImageEditorFrame;
annotationsreadonly annotations: readonly ImageEditorAnnotation[];