InnerShadowEffect
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.layereffects.IShadowEffect, com.aspose.internal.fileformats.psd.layers.layereffects.IInternalLayerEffect
public class InnerShadowEffect implements IShadowEffect, IInternalLayerEffect
Inner Shadow Layer effect
Methods
| Method | Description |
|---|---|
| create_internalized(IEffectEntity entity) | |
| equals(Object arg0) | |
| getAngle() | Gets or sets the angle in degrees. |
| getBlendMode() | Gets or sets the blend mode. |
| getClass() | |
| getColor() | Gets or sets the color. |
| getDistance() | Gets or sets the distance in pixels. |
| getEffectBounds(Rectangle layerBounds, int globalAngle) | Calculate and gets the bounds of effect pixels based on input layer pixels bounds. |
| getEffectEntity_internalized() | Gets the entity |
| getEffectType() | Gets a type of effect |
| getNoise() | Gets or sets the noise. |
| getOpacity() | Gets or sets the opacity. |
| getSize() | Gets or sets the blur value in pixels. |
| getSpread() | Gets or sets the spread (choke) as percentage. |
| getUseGlobalLight() | Gets or sets a value indicating whether [use this angle in all of the layer effects]. |
| hashCode() | |
| isVisible() | Gets or sets a value indicating whether this instance is visible. |
| notify() | |
| notifyAll() | |
| setAngle(int value) | Gets or sets the angle in degrees. |
| setBlendMode(long value) | Gets or sets the blend mode. |
| 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. |
| setOpacity(byte value) | Gets or sets the opacity. |
| setSize(int value) | Gets or sets the blur value in pixels. |
| setSpread(int value) | Gets or sets the spread (choke) as percentage. |
| setUseGlobalLight(boolean value) | Gets or sets a value indicating whether [use this angle in all of the layer effects]. |
| setVisible(boolean value) | Gets or sets a value indicating whether this instance is visible. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
create_internalized(IEffectEntity entity)
public static InnerShadowEffect create_internalized(IEffectEntity entity)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| entity | com.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity |
Returns: InnerShadowEffect
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getAngle()
public final int getAngle()
Gets or sets the angle in degrees.
Value: The angle.
Returns: int
getBlendMode()
public final long getBlendMode()
Gets or sets the blend mode.
Value: The blend mode.
Returns: long
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColor()
public final Color getColor()
Gets or sets the color.
Value: The color.
Returns: Color
getDistance()
public final int getDistance()
Gets or sets the distance in pixels.
Value: The distance.
Returns: int
getEffectBounds(Rectangle layerBounds, int globalAngle)
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 | The layer pixels bounds. |
| globalAngle | int | The global angle to calculate global light angle. |
Returns: Rectangle - The bounds of effect pixels based on input layer pixels bounds.
getEffectEntity_internalized()
public final IEffectEntity getEffectEntity_internalized()
Gets the entity
Returns: com.aspose.internal.fileformats.psd.layers.layereffects.effectentities.IEffectEntity
getEffectType()
public final int getEffectType()
Gets a type of effect
Returns: int
getNoise()
public final int getNoise()
Gets or sets the noise.
Returns: int
getOpacity()
public final byte getOpacity()
Gets or sets the opacity.
Value: The opacity.
Returns: byte
getSize()
public final int getSize()
Gets or sets the blur value in pixels.
Value: The size.
Returns: int
getSpread()
public final int getSpread()
Gets or sets the spread (choke) as percentage.
Value: The spread.
Returns: int
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()
public native int hashCode()
Returns: int
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()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAngle(int value)
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)
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)
public final void setColor(Color value)
Gets or sets the color.
Value: The color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Color |
setDistance(int value)
public final void setDistance(int value)
Gets or sets the distance in pixels.
Value: The distance.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setNoise(int value)
public final void setNoise(int value)
Gets or sets the noise.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setOpacity(byte value)
public final void setOpacity(byte value)
Gets or sets the opacity.
Value: The opacity.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | byte |
setSize(int value)
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)
public final void setSpread(int value)
Gets or sets the spread (choke) as percentage.
Value: The spread.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setUseGlobalLight(boolean value)
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)
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()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |