---
title: "IShadowSettings Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.ishadowsettings.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IShadowSettings Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure defining parameters of text shadows.
  
 - example
     - ```
{
    "defaultItemsConfig": {
        "text": {
            "font": {
                "postScriptName": "Impact",
                "size": 33,
                "fauxBold": true,
                "fauxItalic": true
            },
            "color": "rgb(30,30,30)",
            "shadow": {
                "color": "rgb(255,0,0)",
                "size": 0.4,
                "angle": 45,
                "distance": 2
            },
            "stroke": {
                "size": 0.3
            },
            "overflowStrategy": "FitToWidth",
            "textPermissions": {
                "allowChangeFontColor": false,
                "allowChangeShadow": false,
                "allowChangeStroke": false
            }
        }
    }
}
```
 
## Properties
 
### Optional angle
 
angle: number

The shadow angle. The default value is `90`.
 
### Optional color
 
color: string

The shadow color.
 
### Optional distance
 
distance: number

The distance between the item and shadow, in points. The default value depends on the item size.
 
### Optional size
 
size: number

The shadow size, in pixels. The default value depends on the item size.
