public class DuotoneEffectiveData extends EffectEffectiveData<Duotone,DuotoneEffectiveData> implements IDuotoneEffectiveData
Immutable object which represents a Duotone effect. For each pixel, combines clr1 and clr2 through a linear interpolation to determine the new color for that pixel.
Modifier and Type | Method and Description |
---|---|
com.aspose.slides.TrueColorBitmap |
apply(com.aspose.slides.TrueColorBitmap img) |
java.lang.Integer |
getColor1()
Returns target color format for dark pixels.
|
java.lang.Integer |
getColor2()
Returns target color format for light pixels.
|
java.lang.String |
getStringData() |
void |
resolveFontDatas(IBaseSlide slide) |
void |
resolveStyledColors(IBaseSlide slide,
com.aspose.slides.StyleColorEffectiveData styleColor) |
getActualVersion, getInstanceId, updateCache
equals, hashCode
public final java.lang.Integer getColor1()
Returns target color format for dark pixels.
Read-only Integer
.
getColor1
in interface IDuotoneEffectiveData
public final java.lang.Integer getColor2()
Returns target color format for light pixels.
Read-only Integer
.
getColor2
in interface IDuotoneEffectiveData
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<Duotone,DuotoneEffectiveData>
public java.lang.String getStringData()
getStringData
in class EffectEffectiveData<Duotone,DuotoneEffectiveData>
Copyright © 2004-2021 Aspose Pty Ltd. All Rights Reserved.