com.aspose.slides.pptx.effects
Class BiLevel

java.lang.Object
  extended by com.aspose.slides.pptx.effects.ImageTransformOperationEx
      extended by com.aspose.slides.pptx.effects.BiLevel
All Implemented Interfaces:
IPresentationComponent, ISlideComponent

public class BiLevel
extends ImageTransformOperationEx

BiLevel (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)
          BiLevel effect constructor.
 
Method Summary
 float getThreshold()
          Returns the luminance threshold.
 void setThreshold(float threshold)
          Sets the luminance threshold.
 
Methods inherited from class com.aspose.slides.pptx.effects.ImageTransformOperationEx
getPresentation, getSlide
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiLevel

public BiLevel(float threshold)
BiLevel effect constructor.

Parameters:
threshold - The luminance threshold for the BiLevel effect. Values greater than or equal to the threshold are set to white. Values lesser than the threshold are set to black.
Method Detail

getThreshold

public float getThreshold()
Returns the luminance threshold.


setThreshold

public void setThreshold(float threshold)
Sets the luminance threshold.