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: 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?