Skip to main content

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?