public interface IShadowEffect extends ILayerEffect
Interface for Shadow Layer Effects
ILayerEffect
Modifier and Type | Method and Description |
---|---|
int |
getAngle()
Gets or sets the angle in degrees.
|
Color |
getColor()
Gets or sets the color.
|
int |
getDistance()
Gets or sets the distance in pixels.
|
int |
getNoise()
Gets or sets the noise.
|
int |
getSize()
Gets or sets the blur value in pixels.
|
int |
getSpread()
Gets or sets the intensity as a percent.
|
boolean |
getUseGlobalLight()
Gets or sets a value indicating whether [use this angle in all of the layer effects].
|
void |
setAngle(int value)
Gets or sets the angle in degrees.
|
void |
setColor(Color value)
Gets or sets the color.
|
void |
setDistance(int value)
Gets or sets the distance in pixels.
|
void |
setNoise(int value)
Gets or sets the noise.
|
void |
setSize(int value)
Gets or sets the blur value in pixels.
|
void |
setSpread(int value)
Gets or sets the intensity as a percent.
|
void |
setUseGlobalLight(boolean value)
Gets or sets a value indicating whether [use this angle in all of the layer effects].
|
getBlendMode, getEffectType, getOpacity, isVisible, setBlendMode, setOpacity, setVisible
Color getColor()
Gets or sets the color.
Value: The color.void setColor(Color value)
Gets or sets the color.
Value: The color.int getAngle()
Gets or sets the angle in degrees.
Value: The angle.void setAngle(int value)
Gets or sets the angle in degrees.
Value: The angle.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
.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
.int getDistance()
Gets or sets the distance in pixels.
Value: The distance.void setDistance(int value)
Gets or sets the distance in pixels.
Value: The distance.int getSpread()
Gets or sets the intensity as a percent.
Value: The spread.void setSpread(int value)
Gets or sets the intensity as a percent.
Value: The spread.int getSize()
Gets or sets the blur value in pixels.
Value: The size.void setSize(int value)
Gets or sets the blur value in pixels.
Value: The size.int getNoise()
Gets or sets the noise.
PsdImageArgumentException
- Noise must be specified as percentage in range from 0 to 100
Value:
The noise.void setNoise(int value)
Gets or sets the noise.
PsdImageArgumentException
- Noise must be specified as percentage in range from 0 to 100
Value:
The noise.