AddNoiseSmartFilter
Inheritance: java.lang.Object, com.aspose.psd.fileformats.psd.layers.smartfilters.filters.SmartFilter
public final class AddNoiseSmartFilter extends SmartFilter
The AddNoise smart filter.
Constructors
Constructor | Description |
---|---|
AddNoiseSmartFilter() | Initializes a new instance of the AddNoiseSmartFilter 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) | |
getAmountNoise() | Gets or sets The noise value amount. |
getBlendMode() | Gets or sets the blending mode. |
getClass() | |
getDistribution() | Gets or sets the distribution of noise filter. |
getFilterId() | Gets the smart filter type identifier. |
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. |
isMonochromatic() | Gets or sets the value of monochromatic. |
notify() | |
notifyAll() | |
setAmountNoise(double value) | Gets or sets The noise value amount. |
setBlendMode(long value) | Gets or sets the blending mode. |
setDistribution(int value) | Gets or sets the distribution of noise filter. |
setEnabled(boolean value) | Gets or sets the is enabled status of the smart filter. |
setMonochromatic(boolean value) | Gets or sets the value of monochromatic. |
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) |
AddNoiseSmartFilter()
public AddNoiseSmartFilter()
Initializes a new instance of the AddNoiseSmartFilter 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 AddNoiseSmartFilter create_internalized(DescriptorStructure sourceDescriptor)
Parameters:
Parameter | Type | Description |
---|---|---|
sourceDescriptor | DescriptorStructure |
Returns: AddNoiseSmartFilter
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
getAmountNoise()
public final double getAmountNoise()
Gets or sets The noise value amount.
Returns: double
getBlendMode()
public final long getBlendMode()
Gets or sets the blending mode.
Returns: long
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDistribution()
public final int getDistribution()
Gets or sets the distribution of noise filter.
Returns: int
getFilterId()
public int getFilterId()
Gets the smart filter type identifier.
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
isMonochromatic()
public final boolean isMonochromatic()
Gets or sets the value of monochromatic.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAmountNoise(double value)
public final void setAmountNoise(double value)
Gets or sets The noise value amount.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setBlendMode(long value)
public final void setBlendMode(long value)
Gets or sets the blending mode.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long |
setDistribution(int value)
public final void setDistribution(int value)
Gets or sets the distribution of noise filter.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
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 |
setMonochromatic(boolean value)
public final void setMonochromatic(boolean value)
Gets or sets the value of monochromatic.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
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 |