IShadowEffect
All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.layereffects.ILayerEffect
public interface IShadowEffect extends ILayerEffect
Interface for Shadow Layer Effects
Methods
| Method | Description |
|---|---|
| getAngle() | Gets or sets the angle in degrees. |
| getColor() | Gets or sets the color. |
| getDistance() | Gets or sets the distance in pixels. |
| getNoise() | Gets or sets the noise. |
| getSize() | Gets or sets the blur value in pixels. |
| getSpread() | Gets or sets the intensity as a percent. |
| getUseGlobalLight() | Gets or sets a value indicating whether [use this angle in all of the layer effects]. |
| setAngle(int value) | Gets or sets the angle in degrees. |
| setColor(Color value) | Gets or sets the color. |
| setDistance(int value) | Gets or sets the distance in pixels. |
| setNoise(int value) | Gets or sets the noise. |
| setSize(int value) | Gets or sets the blur value in pixels. |
| setSpread(int value) | Gets or sets the intensity as a percent. |
| setUseGlobalLight(boolean value) | Gets or sets a value indicating whether [use this angle in all of the layer effects]. |
getAngle()
public abstract int getAngle()
Gets or sets the angle in degrees.
Value: The angle.
Returns: int
getColor()
public abstract Color getColor()
Gets or sets the color.
Value: The color.
Returns: Color
getDistance()
public abstract int getDistance()
Gets or sets the distance in pixels.
Value: The distance.
Returns: int
getNoise()
public abstract int getNoise()
Gets or sets the noise.
Returns: int
getSize()
public abstract int getSize()
Gets or sets the blur value in pixels.
Value: The size.
Returns: int
getSpread()
public abstract int getSpread()
Gets or sets the intensity as a percent.
Value: The spread.
Returns: int
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)
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)
public abstract void setColor(Color value)
Gets or sets the color.
Value: The color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Color |
setDistance(int value)
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)
public abstract void setNoise(int value)
Gets or sets the noise.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setSize(int value)
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)
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)
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 |