SmartFilter

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.ICloneable, java.lang.Cloneable

public abstract class SmartFilter implements System.ICloneable, Cloneable

The class to process a base logic of smart filters.

Constructors

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

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.
deepClone()Makes the memberwise clone of the current instance of the type.
equals(Object arg0)
getBlendMode()Gets or sets the blending mode.
getClass()
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.
notify()
notifyAll()
setBlendMode(long value)Gets or sets the blending mode.
setEnabled(boolean value)Gets or sets the is enabled status of the smart filter.
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)

SmartFilter()

public SmartFilter()

Initializes a new instance of the SmartFilter class.

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.

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

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 abstract int getFilterId()

Gets the smart filter type identifier.

Returns: int

getName()

public abstract 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()

setBlendMode(long value)

public final void setBlendMode(long value)

Gets or sets the blending mode.

Parameters:

ParameterTypeDescription
valuelong

setEnabled(boolean value)

public final void setEnabled(boolean value)

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

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