public class DropShadowEffect extends Object implements ILayerEffect
Drop Shadow Layer effect
Modifier and Type | Method and Description |
---|---|
int |
getAngle()
Gets the angle in degrees.
|
long |
getBlendMode()
Gets the blend mode.
|
Color |
getColor()
Gets the color.
|
int |
getDistance()
Gets the distance in pixels.
|
boolean |
getKnocksOut()
Gets a value indicating whether [knocks out].
|
int |
getNoise()
Gets the noise.
|
byte |
getOpacity()
Gets the opacity.
|
int |
getSize()
Gets the blur value in pixels.
|
int |
getSpread()
Gets the intensity as a percent.
|
boolean |
getUseGlobalLight()
Gets a value indicating whether [use this angle in all of the layer effects].
|
boolean |
isVisible()
Gets a value indicating whether this instance is visible.
|
void |
setAngle(int value)
Sets the angle in degrees.
|
void |
setBlendMode(long value)
Sets the blend mode.
|
void |
setColor(Color value)
Sets the color.
|
void |
setDistance(int value)
Sets the distance in pixels.
|
void |
setKnocksOut(boolean value)
Sets a value indicating whether [knocks out].
|
void |
setNoise(int value)
Sets the noise.
|
void |
setOpacity(byte value)
Sets the opacity.
|
void |
setSize(int value)
Sets the blur value in pixels.
|
void |
setSpread(int value)
Sets the intensity as a percent.
|
void |
setUseGlobalLight(boolean value)
Sets a value indicating whether [use this angle in all of the layer effects].
|
void |
setVisible(boolean value)
Sets a value indicating whether this instance is visible.
|
public final Color getColor()
Gets the color.
public final void setColor(Color value)
Sets the color.
value
- the color.public final long getBlendMode()
Gets the blend mode.
getBlendMode
in interface ILayerEffect
public final void setBlendMode(long value)
Sets the blend mode.
setBlendMode
in interface ILayerEffect
value
- the blend mode.public final boolean isVisible()
Gets a value indicating whether this instance is visible.
isVisible
in interface ILayerEffect
public final void setVisible(boolean value)
Sets a value indicating whether this instance is visible.
setVisible
in interface ILayerEffect
value
- a value indicating whether this instance is visible.public final byte getOpacity()
Gets the opacity.
getOpacity
in interface ILayerEffect
public final void setOpacity(byte value)
Sets the opacity.
setOpacity
in interface ILayerEffect
value
- the opacity.public final int getAngle()
Gets the angle in degrees.
public final void setAngle(int value)
Sets the angle in degrees.
value
- the angle in degrees.public final boolean getUseGlobalLight()
Gets a value indicating whether [use this angle in all of the layer effects].
public final void setUseGlobalLight(boolean value)
Sets a value indicating whether [use this angle in all of the layer effects].
value
- a value indicating whether [use this angle in all of the layer effects].public final int getDistance()
Gets the distance in pixels.
public final void setDistance(int value)
Sets the distance in pixels.
value
- the distance in pixels.public final int getSpread()
Gets the intensity as a percent.
public final void setSpread(int value)
Sets the intensity as a percent.
value
- the intensity as a percent.public final int getSize()
Gets the blur value in pixels.
public final void setSize(int value)
Sets the blur value in pixels.
value
- the blur value in pixels.public final int getNoise()
Gets the noise.
PsdImageArgumentException
- Noise must be specified in percents in range from 0 to 100public final void setNoise(int value)
Sets the noise.
value
- the noise.PsdImageArgumentException
- Noise must be specified in percents in range from 0 to 100public final boolean getKnocksOut()
Gets a value indicating whether [knocks out].
public final void setKnocksOut(boolean value)
Sets a value indicating whether [knocks out].
value
- a value indicating whether [knocks out].