EmbossSmartFilter
Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.smartfilters.filters.SmartFilter
public final class EmbossSmartFilter extends SmartFilter
The Emboss smart filter.
Constructors
| Constructor | Description |
|---|---|
| EmbossSmartFilter() | Initializes a new instance of the EmbossSmartFilter class. |
Fields
| Field | Description |
|---|---|
| FilterType | The identifier of current smart filter. |
Methods
| Method | Description |
|---|---|
| apply(RasterImage rasterImage) | Applies the current filter to input RasterImage image. |
| applyToMask(Layer layerWithMask) | Applies the current filter to input Layer mask data. |
| create_internalized(DescriptorStructure sourceDescriptor) | |
| deepClone() | Makes the memberwise clone of the current instance of the type. |
| equals(Object arg0) | |
| getAmount() | Gets or sets the amount of emboss filter (percent). |
| getAngle() | Gets or sets the angle of emboss filter (degrees, 0-360). |
| getBlendMode() | Gets or sets the blending mode. |
| getClass() | |
| getFilterId() | Gets the smart filter type identifier. |
| getHeight() | Gets or sets the height of emboss filter (pixels). |
| getName() | Gets the smart filter name. |
| getOpacity() | Gets or sets the opacity value of smart filter. |
| getSourceDescriptor() | The source descriptor structure with smart filter data. |
| hashCode() | |
| isEnabled() | Gets or sets the is enabled status of the smart filter. |
| notify() | |
| notifyAll() | |
| setAmount(int value) | Gets or sets the amount of emboss filter (percent). |
| setAngle(int value) | Gets or sets the angle of emboss filter (degrees, 0-360). |
| setBlendMode(long value) | Gets or sets the blending mode. |
| setEnabled(boolean value) | Gets or sets the is enabled status of the smart filter. |
| setHeight(int value) | Gets or sets the height of emboss filter (pixels). |
| setOpacity(double value) | Gets or sets the opacity value of smart filter. |
| toDescriptorStructure_internalized() | Saves the smart filter information to DescriptorStructure data and return. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
EmbossSmartFilter()
public EmbossSmartFilter()
Initializes a new instance of the EmbossSmartFilter class.
FilterType
public static final int FilterType
The identifier of current smart filter.
apply(RasterImage rasterImage)
public final void apply(RasterImage rasterImage)
Applies the current filter to input RasterImage image.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rasterImage | RasterImage | The raster image. |
applyToMask(Layer layerWithMask)
public final void applyToMask(Layer layerWithMask)
Applies the current filter to input Layer mask data.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| layerWithMask | Layer | The layer with mask data. |
create_internalized(DescriptorStructure sourceDescriptor)
public static EmbossSmartFilter create_internalized(DescriptorStructure sourceDescriptor)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| sourceDescriptor | DescriptorStructure |
Returns: EmbossSmartFilter
deepClone()
public final SmartFilter deepClone()
Makes the memberwise clone of the current instance of the type.
Returns: SmartFilter - Returns the memberwise clone of the current instance of the type.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getAmount()
public final int getAmount()
Gets or sets the amount of emboss filter (percent).
Returns: int
getAngle()
public final int getAngle()
Gets or sets the angle of emboss filter (degrees, 0-360).
Returns: int
getBlendMode()
public final long getBlendMode()
Gets or sets the blending mode.
Returns: long
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFilterId()
public int getFilterId()
Gets the smart filter type identifier.
Returns: int
getHeight()
public final int getHeight()
Gets or sets the height of emboss filter (pixels).
Returns: int
getName()
public String getName()
Gets the smart filter name.
Returns: java.lang.String
getOpacity()
public final double getOpacity()
Gets or sets the opacity value of smart filter.
Returns: double
getSourceDescriptor()
public final DescriptorStructure getSourceDescriptor()
The source descriptor structure with smart filter data.
Returns: DescriptorStructure
hashCode()
public native int hashCode()
Returns: int
isEnabled()
public final boolean isEnabled()
Gets or sets the is enabled status of the smart filter.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAmount(int value)
public final void setAmount(int value)
Gets or sets the amount of emboss filter (percent).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setAngle(int value)
public final void setAngle(int value)
Gets or sets the angle of emboss filter (degrees, 0-360).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setBlendMode(long value)
public final void setBlendMode(long value)
Gets or sets the blending mode.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | long |
setEnabled(boolean value)
public final void setEnabled(boolean value)
Gets or sets the is enabled status of the smart filter.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
setHeight(int value)
public final void setHeight(int value)
Gets or sets the height of emboss filter (pixels).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setOpacity(double value)
public final void setOpacity(double value)
Gets or sets the opacity value of smart filter.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double |
toDescriptorStructure_internalized()
public DescriptorStructure toDescriptorStructure_internalized()
Saves the smart filter information to DescriptorStructure data and return.
Returns: DescriptorStructure - The DescriptorStructure with saved smart filter information.
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 |