BiLevel
Inheritance: java.lang.Object, com.aspose.slides.PVIObject, com.aspose.slides.ImageTransformOperation
All Implemented Interfaces: com.aspose.slides.IBiLevel, com.aspose.slides.IVisualEffect
public final class BiLevel extends ImageTransformOperation implements IBiLevel, IVisualEffect
Represents a Bi-Level (black/white) effect. Input colors whose luminance is less than the specified threshold value are changed to black. Input colors whose luminance are greater than or equal the specified value are set to white. The alpha effect values are unaffected by this effect.
Methods
Method | Description |
---|---|
getEffective() | Gets effective Bi-Level effect data with the inheritance applied. |
equals(Object obj) | Determines whether the specified BiLevel is equal to the current BiLevel. |
hashCode() | Serves as a hash function for a particular type. |
getEffective()
public final IBiLevelEffectiveData getEffective()
Gets effective Bi-Level effect data with the inheritance applied.
Returns: IBiLevelEffectiveData - A IBiLevelEffectiveData.
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified BiLevel is equal to the current BiLevel.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The BiLevel 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.