# ImageEditorShapeStyle (@salmonui/editors/image-editor)

> The ImageEditorShapeStyle interface of @salmonui/editors/image-editor: Stroke and fill of the shape kinds.

Canonical: https://salmonui.dev/docs/reference/editors/image-editor/ImageEditorShapeStyle

```ts
import type { ImageEditorShapeStyle } from '@salmonui/editors/image-editor';
```

Entry index: https://salmonui.dev/docs/reference/editors/image-editor (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/editors/image-editor.md).

## Reference

Kind: interface

```ts
interface ImageEditorShapeStyle {
    readonly stroke?: string | undefined;
    readonly fill?: string | undefined;
    readonly strokeWidth?: number | undefined;
}
```

Stroke and fill of the shape kinds.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `stroke` | `readonly stroke?: string \| undefined;` | optional | CSS color; `'transparent'` or omitted draws no stroke for filled shapes. Default `'#e5484d'`. |
| `fill` | `readonly fill?: string \| undefined;` | optional | CSS color; omitted draws no fill. |
| `strokeWidth` | `readonly strokeWidth?: number \| undefined;` | optional | Default 4. |
