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.
|
IDuotoneEffectiveData |
getEffective()
Gets effective Duotone effect data with the inheritance applied.
|
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 IDuotoneEffectiveData getEffective()
Gets effective Duotone effect data with the inheritance applied.
getEffective
in interface IAccessiblePVIObject<IDuotoneEffectiveData>
IDuotoneEffectiveData
.public long getVersion()
Version.
Read-only long
.
getVersion
in class ImageTransformOperation
public boolean equals(java.lang.Object obj)
Copyright © 2004-2022 Aspose Pty Ltd. All Rights Reserved.