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

ConstructorDescription
AddNoiseSmartFilter()Initializes a new instance of the AddNoiseSmartFilter class.

Fields

FieldDescription
FilterTypeThe identifier of current smart filter.

Methods

MethodDescription
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:

ParameterTypeDescription
rasterImageRasterImageThe raster image.

applyToMask(Layer layerWithMask)

public final void applyToMask(Layer layerWithMask)

Applies the current filter to input Layer mask data.

Parameters:

ParameterTypeDescription
layerWithMaskLayerThe layer with mask data.

create_internalized(DescriptorStructure sourceDescriptor)

public static AddNoiseSmartFilter create_internalized(DescriptorStructure sourceDescriptor)

Parameters:

ParameterTypeDescription
sourceDescriptorDescriptorStructure

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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valuedouble

setBlendMode(long value)

public final void setBlendMode(long value)

Gets or sets the blending mode.

Parameters:

ParameterTypeDescription
valuelong

setDistribution(int value)

public final void setDistribution(int value)

Gets or sets the distribution of noise filter.

Parameters:

ParameterTypeDescription
valueint

setEnabled(boolean value)

public final void setEnabled(boolean value)

Gets or sets the is enabled status of the smart filter.

Parameters:

ParameterTypeDescription
valueboolean

setMonochromatic(boolean value)

public final void setMonochromatic(boolean value)

Gets or sets the value of monochromatic.

Parameters:

ParameterTypeDescription
valueboolean

setOpacity(double value)

public final void setOpacity(double value)

Gets or sets the opacity value of smart filter.

Parameters:

ParameterTypeDescription
valuedouble

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int