public class BiLevelEffectiveData extends EffectEffectiveData<BiLevel,BiLevelEffectiveData> implements IBiLevelEffectiveData
Immutable object which 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.
Modifier and Type | Method and Description |
---|---|
com.aspose.slides.TrueColorBitmap |
apply(com.aspose.slides.TrueColorBitmap img) |
java.lang.String |
getStringData() |
float |
getThreshold()
Returns a threshold.
|
void |
resolveFontDatas(IBaseSlide slide) |
void |
resolveStyledColors(IBaseSlide slide,
com.aspose.slides.StyleColorEffectiveData styleColor) |
getActualVersion, getInstanceId, updateCache
equals, hashCode
public final float getThreshold()
Returns a threshold.
Read-only float
.
getThreshold
in interface IBiLevelEffectiveData
public void resolveStyledColors(IBaseSlide slide, com.aspose.slides.StyleColorEffectiveData styleColor)
public void resolveFontDatas(IBaseSlide slide)
public com.aspose.slides.TrueColorBitmap apply(com.aspose.slides.TrueColorBitmap img)
apply
in class EffectEffectiveData<BiLevel,BiLevelEffectiveData>
public java.lang.String getStringData()
getStringData
in class EffectEffectiveData<BiLevel,BiLevelEffectiveData>
Copyright © 2004-2021 Aspose Pty Ltd. All Rights Reserved.