View as Markdown

API reference: @salmonui/editors/image-editor

ImageEditorTooltype

import type { ImageEditorTool } from '@salmonui/editors/image-editor';
type ImageEditorTool = 'select' | 'pan' | 'crop' | 'straighten' | 'resize' | 'adjust' | 'filter' | 'frame' | ImageEditorAnnotationKind;

Tools of the editor; select moves and resizes annotations, pan drags the zoomed view.