
## ShadowEffect class

This class specifies the shadow effect of the chart element or shape.

```javascript
class ShadowEffect;
```


## Properties

| Property | Type | Description |
| --- | --- | --- |
| [presetType](#presetType--)| PresetShadowType | Gets and sets the preset shadow type of the shadow. |
| [color](#color--)| CellsColor | Gets and sets the color of the shadow. |
| [transparency](#transparency--)| number | Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear). |
| [size](#size--)| number | Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow. |
| [blur](#blur--)| number | Gets and sets the blur of the shadow. Range from 0 to 100 points. |
| [angle](#angle--)| number | Gets and sets the lighting angle. Range from 0 to 359.9 degrees. |
| [distance](#distance--)| number | Gets and sets the distance of the shadow. Range from 0 to 200 points. |


### presetType {#presetType--}

Gets and sets the preset shadow type of the shadow.

```javascript
presetType : PresetShadowType;
```


### color {#color--}

Gets and sets the color of the shadow.

```javascript
color : CellsColor;
```


### transparency {#transparency--}

Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).

```javascript
transparency : number;
```


### size {#size--}

Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.

```javascript
size : number;
```


### blur {#blur--}

Gets and sets the blur of the shadow. Range from 0 to 100 points.

```javascript
blur : number;
```


### angle {#angle--}

Gets and sets the lighting angle. Range from 0 to 359.9 degrees.

```javascript
angle : number;
```


### distance {#distance--}

Gets and sets the distance of the shadow. Range from 0 to 200 points.

```javascript
distance : number;
```



