Interface ITextShadowParam
A structure defining a range of text shadow parameters.
Package: @aurigma/design-editor-iframe
Examples
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
An angle of the text shadow, measured in degrees. The default value is calculated based on the text font size.
Declaration
angle: IRangeParams;
Property Value
| Type | Description |
|---|---|
| IRangeParams | An angle of the text shadow, measured in degrees. The default value is calculated based on the text font size. |
distance
An indent of the text shadow, measured in points. The default value is calculated based on the text font size.
Declaration
distance: IRangeParams;
Property Value
| Type | Description |
|---|---|
| IRangeParams | An indent of the text shadow, measured in points. The default value is calculated based on the text font size. |
size
A size of the shadow blur, measured in pixels. The default value is calculated based on the text font size.
Declaration
size: IRangeParams;
Property Value
| Type | Description |
|---|---|
| IRangeParams | A size of the shadow blur, measured in pixels. The default value is calculated based on the text font size. |