com.aspose.slides
Class BiLevel
java.lang.Object
com.aspose.slides.ImageTransformOperationEx
com.aspose.slides.BiLevel
- All Implemented Interfaces:
- java.lang.Cloneable
public class BiLevel
- extends ImageTransformOperationEx
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.
Constructor Summary |
BiLevel(float threshold)
Bi-Level effect constructor. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BiLevel
public BiLevel(float threshold)
Bi-Level effect constructor.
- Parameters:
threshold
- the luminance threshold for the Bi-Level effect.
Values greater than or equal to the threshold are set to white.
Values lesser than the threshold are set to black.
getReadonly
public EffectDataEx getReadonly(BaseSlideEx slide,
com.aspose.slides.ColorFormatEx.FloatColor styleColor)