
**All Implemented Interfaces:**
[com.aspose.psd.fileformats.psd.layers.layereffects.ILayerEffect](../../com.aspose.psd.fileformats.psd.layers.layereffects/ilayereffect)
```
public interface IShadowEffect extends ILayerEffect
```

Interface for Shadow Layer Effects
## Methods

| Method | Description |
| --- | --- |
| [getAngle()](#getAngle--) | Gets or sets the angle in degrees. |
| [getColor()](#getColor--) | Gets or sets the color. |
| [getDistance()](#getDistance--) | Gets or sets the distance in pixels. |
| [getNoise()](#getNoise--) | Gets or sets the noise. |
| [getSize()](#getSize--) | Gets or sets the blur value in pixels. |
| [getSpread()](#getSpread--) | Gets or sets the intensity as a percent. |
| [getUseGlobalLight()](#getUseGlobalLight--) | Gets or sets a value indicating whether [use this angle in all of the layer effects]. |
| [setAngle(int value)](#setAngle-int-) | Gets or sets the angle in degrees. |
| [setColor(Color value)](#setColor-com.aspose.psd.Color-) | Gets or sets the color. |
| [setDistance(int value)](#setDistance-int-) | Gets or sets the distance in pixels. |
| [setNoise(int value)](#setNoise-int-) | Gets or sets the noise. |
| [setSize(int value)](#setSize-int-) | Gets or sets the blur value in pixels. |
| [setSpread(int value)](#setSpread-int-) | Gets or sets the intensity as a percent. |
| [setUseGlobalLight(boolean value)](#setUseGlobalLight-boolean-) | Gets or sets a value indicating whether [use this angle in all of the layer effects]. |
### getAngle() {#getAngle--}
```
public abstract int getAngle()
```


Gets or sets the angle in degrees.

Value: The angle.

**Returns:**
int
### getColor() {#getColor--}
```
public abstract Color getColor()
```


Gets or sets the color.

Value: The color.

**Returns:**
[Color](../../com.aspose.psd/color)
### getDistance() {#getDistance--}
```
public abstract int getDistance()
```


Gets or sets the distance in pixels.

Value: The distance.

**Returns:**
int
### getNoise() {#getNoise--}
```
public abstract int getNoise()
```


Gets or sets the noise.

**Returns:**
int
### getSize() {#getSize--}
```
public abstract int getSize()
```


Gets or sets the blur value in pixels.

Value: The size.

**Returns:**
int
### getSpread() {#getSpread--}
```
public abstract int getSpread()
```


Gets or sets the intensity as a percent.

Value: The spread.

**Returns:**
int
### getUseGlobalLight() {#getUseGlobalLight--}
```
public abstract boolean getUseGlobalLight()
```


Gets or sets a value indicating whether [use this angle in all of the layer effects].

Value:  true  if [use global light]; otherwise,  false .

**Returns:**
boolean
### setAngle(int value) {#setAngle-int-}
```
public abstract void setAngle(int value)
```


Gets or sets the angle in degrees.

Value: The angle.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setColor(Color value) {#setColor-com.aspose.psd.Color-}
```
public abstract void setColor(Color value)
```


Gets or sets the color.

Value: The color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.psd/color) |  |

### setDistance(int value) {#setDistance-int-}
```
public abstract void setDistance(int value)
```


Gets or sets the distance in pixels.

Value: The distance.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setNoise(int value) {#setNoise-int-}
```
public abstract void setNoise(int value)
```


Gets or sets the noise.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setSize(int value) {#setSize-int-}
```
public abstract void setSize(int value)
```


Gets or sets the blur value in pixels.

Value: The size.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setSpread(int value) {#setSpread-int-}
```
public abstract void setSpread(int value)
```


Gets or sets the intensity as a percent.

Value: The spread.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setUseGlobalLight(boolean value) {#setUseGlobalLight-boolean-}
```
public abstract void setUseGlobalLight(boolean value)
```


Gets or sets a value indicating whether [use this angle in all of the layer effects].

Value:  true  if [use global light]; otherwise,  false .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

