AlphaBiLevel

Inheritance: java.lang.Object, com.aspose.slides.PVIObject, com.aspose.slides.ImageTransformOperation

All Implemented Interfaces: com.aspose.slides.IAlphaBiLevel, com.aspose.slides.IVisualEffect

public final class AlphaBiLevel extends ImageTransformOperation implements IAlphaBiLevel, IVisualEffect

Represents an Alpha Bi-Level effect. Alpha (Opacity) values less than the threshold are changed to 0 (fully transparent) and alpha values greater than or equal to the threshold are changed to 100% (fully opaque).

Methods

MethodDescription
getThreshold()Returns effect threshold.
setThreshold(float value)Returns effect threshold.
getEffective()Gets effective Alpha Bi-Level effect data with the inheritance applied.
equals(Object obj)Determines whether the specified AlphaBiLevel is equal to the current AlphaBiLevel.
hashCode()Serves as a hash function for a particular type.

getThreshold()

public final float getThreshold()

Returns effect threshold. Read/write float.

Returns: float

setThreshold(float value)

public final void setThreshold(float value)

Returns effect threshold. Read/write float.

Parameters:

ParameterTypeDescription
valuefloat

getEffective()

public final IAlphaBiLevelEffectiveData getEffective()

Gets effective Alpha Bi-Level effect data with the inheritance applied.

Returns: IAlphaBiLevelEffectiveData - A IAlphaBiLevelEffectiveData.

equals(Object obj)

public boolean equals(Object obj)

Determines whether the specified AlphaBiLevel is equal to the current AlphaBiLevel.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe AlphaBiLevel to compare.

Returns: boolean - true if objects are equal; otherwise, false.

hashCode()

public int hashCode()

Serves as a hash function for a particular type.

Returns: int - A hash code for the current object.