Skip to content

@fabwcie/free-drawing / components/tools/Overlay/BaseOverlay / OverlayOptions

Type Alias: OverlayOptions ​

OverlayOptions = object

Defined in: packages/free-drawing/src/components/tools/Overlay/BaseOverlay.ts:25

Sections shown by an overlay and their titles, given by each subclass

Properties ​

colorTitle ​

colorTitle: TranslationKey

Defined in: packages/free-drawing/src/components/tools/Overlay/BaseOverlay.ts:33

Title of color section (default stroke)


fillBtns ​

fillBtns: boolean

Defined in: packages/free-drawing/src/components/tools/Overlay/BaseOverlay.ts:31

Show background color buttons, for rectangle and ellipse (default false)


label ​

label: TranslationKey

Defined in: packages/free-drawing/src/components/tools/Overlay/BaseOverlay.ts:35

Accessible name of overlay (default tool options)


styleBtns ​

styleBtns: boolean

Defined in: packages/free-drawing/src/components/tools/Overlay/BaseOverlay.ts:27

Show stroke style buttons (default false)


widthBtns ​

widthBtns: boolean

Defined in: packages/free-drawing/src/components/tools/Overlay/BaseOverlay.ts:29

Show stroke width buttons (default true)