Skip to main content

Interface: ITextShadowParam

A structure defining a range of text shadow parameters.

Example

configuration = {
widgets: {
TopToolbar: {
textShadowButtonEnabled: true,
textShadow: {
angle: { max: 70, min: 20, step: 5 },
distance: { max: 5, min: 0, step: 0.1 },
size: { max: 2, min: 0, step: 0.1 },
},
},
},
};

Properties

angle

angle: IRangeParams

An angle of the text shadow, measured in degrees. The default value is calculated based on the text font size.


distance

distance: IRangeParams

An indent of the text shadow, measured in points. The default value is calculated based on the text font size.


size

size: IRangeParams

A size of the shadow blur, measured in pixels. The default value is calculated based on the text font size.

Was this page helpful?