public class Duotone extends ImageTransformOperation implements IDuotone
Represents a Duotone effect. For each pixel, combines Color1 and Color2 through a linear interpolation to determine the new color for that pixel.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
|
IColorFormat |
getColor1()
Returns target color format for dark pixels.
|
IColorFormat |
getColor2()
Returns target color format for light pixels.
|
DuotoneEffectiveData |
getEffective() |
long |
getVersion()
Version.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
getParent_Immediate, getParent_IPresentationComponent, getParent_ISlideComponent, getPresentation, getSlide, reset_Parent_IPresentationComponent
public final IColorFormat getColor1()
Returns target color format for dark pixels.
Read-only IColorFormat
.
public final IColorFormat getColor2()
Returns target color format for light pixels.
Read-only IColorFormat
.
public final DuotoneEffectiveData getEffective()
public long getVersion()
Version.
Read-only long
.
getVersion
in class ImageTransformOperation
public boolean equals(java.lang.Object obj)