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

ConstructorDescription
EmbossSmartFilter()Initializes a new instance of the EmbossSmartFilter 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)
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:

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 EmbossSmartFilter create_internalized(DescriptorStructure sourceDescriptor)

Parameters:

ParameterTypeDescription
sourceDescriptorDescriptorStructure

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:

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

ParameterTypeDescription
valueint

setAngle(int value)

public final void setAngle(int value)

Gets or sets the angle of emboss filter (degrees, 0-360).

Parameters:

ParameterTypeDescription
valueint

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

setHeight(int value)

public final void setHeight(int value)

Gets or sets the height of emboss filter (pixels).

Parameters:

ParameterTypeDescription
valueint

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