You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

ITextShadowParamParsed Interface

Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation

A structure defining a range of values.

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

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.

size

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