public class InnerShadowEffect extends Object implements IShadowEffect
Inner Shadow Layer effect
Modifier and Type | Method and Description |
---|---|
int |
getAngle()
Gets or sets the angle in degrees.
|
long |
getBlendMode()
Gets or sets the blend mode.
|
Color |
getColor()
Gets or sets the color.
|
int |
getDistance()
Gets or sets the distance in pixels.
|
int |
getNoise()
Gets or sets the noise.
|
byte |
getOpacity()
Gets or sets the opacity.
|
int |
getSize()
Gets or sets the blur value in pixels.
|
int |
getSpread()
Gets or sets the spread (choke) as percentage.
|
boolean |
getUseGlobalLight()
Gets or sets a value indicating whether [use this angle in all of the layer effects].
|
boolean |
isVisible()
Gets or sets a value indicating whether this instance is visible.
|
void |
setAngle(int value)
Gets or sets the angle in degrees.
|
void |
setBlendMode(long value)
Gets or sets the blend mode.
|
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 |
setOpacity(byte value)
Gets or sets the opacity.
|
void |
setSize(int value)
Gets or sets the blur value in pixels.
|
void |
setSpread(int value)
Gets or sets the spread (choke) as percentage.
|
void |
setUseGlobalLight(boolean value)
Gets or sets a value indicating whether [use this angle in all of the layer effects].
|
void |
setVisible(boolean value)
Gets or sets a value indicating whether this instance is visible.
|
public final Color getColor()
Gets or sets the color.
Value: The color.getColor
in interface IShadowEffect
public final void setColor(Color value)
Gets or sets the color.
Value: The color.setColor
in interface IShadowEffect
public final long getBlendMode()
Gets or sets the blend mode.
Value: The blend mode.getBlendMode
in interface ILayerEffect
public final void setBlendMode(long value)
Gets or sets the blend mode.
Value: The blend mode.setBlendMode
in interface ILayerEffect
public final boolean isVisible()
Gets or sets a value indicating whether this instance is visible.
Value:true
if this instance is visible; otherwise, false
.isVisible
in interface ILayerEffect
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
.setVisible
in interface ILayerEffect
public final byte getOpacity()
Gets or sets the opacity.
Value: The opacity.getOpacity
in interface ILayerEffect
public final void setOpacity(byte value)
Gets or sets the opacity.
Value: The opacity.setOpacity
in interface ILayerEffect
public final int getAngle()
Gets or sets the angle in degrees.
Value: The angle.getAngle
in interface IShadowEffect
public final void setAngle(int value)
Gets or sets the angle in degrees.
Value: The angle.setAngle
in interface IShadowEffect
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
.getUseGlobalLight
in interface IShadowEffect
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
.setUseGlobalLight
in interface IShadowEffect
public final int getDistance()
Gets or sets the distance in pixels.
Value: The distance.getDistance
in interface IShadowEffect
public final void setDistance(int value)
Gets or sets the distance in pixels.
Value: The distance.setDistance
in interface IShadowEffect
public final int getSpread()
Gets or sets the spread (choke) as percentage.
Value: The spread.getSpread
in interface IShadowEffect
public final void setSpread(int value)
Gets or sets the spread (choke) as percentage.
Value: The spread.setSpread
in interface IShadowEffect
public final int getSize()
Gets or sets the blur value in pixels.
Value: The size.getSize
in interface IShadowEffect
public final void setSize(int value)
Gets or sets the blur value in pixels.
Value: The size.setSize
in interface IShadowEffect
public final int getNoise()
Gets or sets the noise.
getNoise
in interface IShadowEffect
PsdImageArgumentException
- Noise must be specified as percentage in range from 0 to 100
Value:
The noise.public final void setNoise(int value)
Gets or sets the noise.
setNoise
in interface IShadowEffect
PsdImageArgumentException
- Noise must be specified as percentage in range from 0 to 100
Value:
The noise.