Skip to main content
⚠️ Archived Version

You are viewing documentation for Design Editor version 7.2, which is no longer actively maintained. For the latest features and updates, please refer to the current version (7.3).

Interface: IDefaultTextStroke

A structure defining a range of values, a color, and a size of text stroke.

Example

configuration = {
widgets: {
TopToolbar: {
textStrokeButtonEnabled: true,
textStrokeColorButtonEnabled: true,
textStroke: { max: 1, min: 0.1, step: 0.1, color: "azure" },
},
},
};

Extends

Properties

min?

optional min?: number

Sets a max value of a range.

Inherited from

IRangeParams.min


max?

optional max?: number

Sets a min value of a range.

Inherited from

IRangeParams.max


step?

optional step?: number

The parameter changes by this step value.

Inherited from

IRangeParams.step


color?

optional color?: string

The text color, in CSS format.


size?

optional size?: number

The text stroke size.

Was this page helpful?