API reference: @salmonui/editors/image-editor
ImageEditorFrameinterface
import type { ImageEditorFrame } from '@salmonui/editors/image-editor';interface ImageEditorFrame {
readonly type: ImageEditorFrameType;
readonly color?: string | undefined;
readonly gradientColor?: string | undefined;
readonly size?: number | undefined;
readonly inset?: number | undefined;
readonly radius?: number | undefined;
}
A frame drawn over the output edges.
| Name | Signature | Description |
|---|---|---|
type | readonly type: ImageEditorFrameType; | |
coloroptional | readonly color?: string | undefined; | Default |
gradientColoroptional | readonly gradientColor?: string | undefined; | A second color: the frame fills with a linear gradient from |
sizeoptional | readonly size?: number | undefined; | Band or line width in output pixels. Default 5 % of the shorter side. |
insetoptional | readonly inset?: number | undefined; | Distance of the |
radiusoptional | readonly radius?: number | undefined; | Corner radius of the opening ( |