---
title: "Interface: ITextShadowParam | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.ITextShadowParam/"
---

# Interface: ITextShadowParam

> A structure defining a range of text shadow parameters.

## Example

``` js
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`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md)

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

***

### distance

> **distance**: [`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md)

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

***

### size

> **size**: [`IRangeParams`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/WidgetConfigurationInterfaces.IRangeParams.md)

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