
**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
[com.aspose.psd.fileformats.psd.layers.layereffects.IShadowEffect](../../com.aspose.psd.fileformats.psd.layers.layereffects/ishadoweffect), com.aspose.internal.fileformats.psd.layers.layereffects.IInternalLayerEffect
```
public class DropShadowEffect implements IShadowEffect, IInternalLayerEffect
```

Drop Shadow Layer effect
## Methods

| Method | Description |
| --- | --- |
| [create_internalized(IEffectEntity entity)](#create-internalized-com.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity-) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAngle()](#getAngle--) | Gets or sets the angle in degrees. |
| [getBlendMode()](#getBlendMode--) | Gets or sets the blend mode. |
| [getClass()](#getClass--) |  |
| [getColor()](#getColor--) | Gets or sets the color. |
| [getDistance()](#getDistance--) | Gets or sets the distance in pixels. |
| [getEffectBounds(Rectangle layerBounds, int globalAngle)](#getEffectBounds-com.aspose.psd.Rectangle-int-) | Calculate and gets the bounds of effect pixels based on input layer pixels bounds. |
| [getEffectEntity_internalized()](#getEffectEntity-internalized--) | Gets the entity |
| [getEffectType()](#getEffectType--) | Gets a type of effect |
| [getKnocksOut()](#getKnocksOut--) | Gets or sets a value indicating whether [knocks out]. |
| [getNoise()](#getNoise--) | Gets or sets the noise. |
| [getOpacity()](#getOpacity--) | Gets or sets the opacity. |
| [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]. |
| [hashCode()](#hashCode--) |  |
| [isVisible()](#isVisible--) | Gets or sets a value indicating whether this instance is visible. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAngle(int value)](#setAngle-int-) | Gets or sets the angle in degrees. |
| [setBlendMode(long value)](#setBlendMode-long-) | Gets or sets the blend mode. |
| [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. |
| [setKnocksOut(boolean value)](#setKnocksOut-boolean-) | Gets or sets a value indicating whether [knocks out]. |
| [setNoise(int value)](#setNoise-int-) | Gets or sets the noise. |
| [setOpacity(byte value)](#setOpacity-byte-) | Gets or sets the opacity. |
| [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]. |
| [setVisible(boolean value)](#setVisible-boolean-) | Gets or sets a value indicating whether this instance is visible. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### create_internalized(IEffectEntity entity) {#create-internalized-com.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity-}
```
public static DropShadowEffect create_internalized(IEffectEntity entity)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| entity | com.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity |  |

**Returns:**
[DropShadowEffect](../../com.aspose.psd.fileformats.psd.layers.layereffects/dropshadoweffect)
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getAngle() {#getAngle--}
```
public final int getAngle()
```


Gets or sets the angle in degrees.

Value: The angle.

**Returns:**
int
### getBlendMode() {#getBlendMode--}
```
public final long getBlendMode()
```


Gets or sets the blend mode.

Value: The blend mode.

**Returns:**
long
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getColor() {#getColor--}
```
public final Color getColor()
```


Gets or sets the color.

Value: The color.

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


Gets or sets the distance in pixels.

Value: The distance.

**Returns:**
int
### getEffectBounds(Rectangle layerBounds, int globalAngle) {#getEffectBounds-com.aspose.psd.Rectangle-int-}
```
public final Rectangle getEffectBounds(Rectangle layerBounds, int globalAngle)
```


Calculate and gets the bounds of effect pixels based on input layer pixels bounds.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| layerBounds | [Rectangle](../../com.aspose.psd/rectangle) | The layer pixels bounds. |
| globalAngle | int | The global angle to calculate global light angle. |

**Returns:**
[Rectangle](../../com.aspose.psd/rectangle) - The bounds of effect pixels based on input layer pixels bounds.
### getEffectEntity_internalized() {#getEffectEntity-internalized--}
```
public final IEffectEntity getEffectEntity_internalized()
```


Gets the entity

**Returns:**
com.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity
### getEffectType() {#getEffectType--}
```
public final int getEffectType()
```


Gets a type of effect

**Returns:**
int
### getKnocksOut() {#getKnocksOut--}
```
public final boolean getKnocksOut()
```


Gets or sets a value indicating whether [knocks out].

Value:  true  if [knocks out]; otherwise,  false .

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


Gets or sets the noise.

**Returns:**
int
### getOpacity() {#getOpacity--}
```
public final byte getOpacity()
```


Gets or sets the opacity.

Value: The opacity.

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


Gets or sets the blur value in pixels.

Value: The size.

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


Gets or sets the intensity as a percent.

Value: The spread.

**Returns:**
int
### getUseGlobalLight() {#getUseGlobalLight--}
```
public final 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
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### isVisible() {#isVisible--}
```
public final boolean isVisible()
```


Gets or sets a value indicating whether this instance is visible.

Value:  true  if this instance is visible; otherwise,  false .

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setAngle(int value) {#setAngle-int-}
```
public final void setAngle(int value)
```


Gets or sets the angle in degrees.

Value: The angle.

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

### setBlendMode(long value) {#setBlendMode-long-}
```
public final void setBlendMode(long value)
```


Gets or sets the blend mode.

Value: The blend mode.

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

### setColor(Color value) {#setColor-com.aspose.psd.Color-}
```
public final 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 final void setDistance(int value)
```


Gets or sets the distance in pixels.

Value: The distance.

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

### setKnocksOut(boolean value) {#setKnocksOut-boolean-}
```
public final void setKnocksOut(boolean value)
```


Gets or sets a value indicating whether [knocks out].

Value:  true  if [knocks out]; otherwise,  false .

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

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


Gets or sets the noise.

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

### setOpacity(byte value) {#setOpacity-byte-}
```
public final void setOpacity(byte value)
```


Gets or sets the opacity.

Value: The opacity.

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

### setSize(int value) {#setSize-int-}
```
public final 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 final 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 final 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 |  |

### setVisible(boolean value) {#setVisible-boolean-}
```
public final void setVisible(boolean value)
```


Gets or sets a value indicating whether this instance is visible.

Value:  true  if this instance is visible; otherwise,  false .

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

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

