API reference: @salmonui/editors/image-editor
ImageEditorAnnotationtype
import type { ImageEditorAnnotation } from '@salmonui/editors/image-editor';type ImageEditorAnnotation = ImageEditorBoxAnnotation | ImageEditorPointsAnnotation | ImageEditorTextAnnotation | ImageEditorImageAnnotation | ImageEditorRedactAnnotation;
Array order is z-order: the last annotation is drawn on top.