API reference: @salmonui/editors/image-editor
ImageEditorShapeStyleinterface
import type { ImageEditorShapeStyle } from '@salmonui/editors/image-editor';interface ImageEditorShapeStyle {
readonly stroke?: string | undefined;
readonly fill?: string | undefined;
readonly strokeWidth?: number | undefined;
}
Stroke and fill of the shape kinds.
| Name | Signature | Description |
|---|---|---|
strokeoptional | readonly stroke?: string | undefined; | CSS color; |
filloptional | readonly fill?: string | undefined; | CSS color; omitted draws no fill. |
strokeWidthoptional | readonly strokeWidth?: number | undefined; | Default 4. |