com.aspose.slides
Class Duotone

java.lang.Object
  extended by com.aspose.slides.ImageTransformOperation
      extended by com.aspose.slides.Duotone
All Implemented Interfaces:
IDuotone, IImageTransformOperation, IPresentationComponent, ISlideComponent, java.lang.Cloneable

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.


Constructor Summary
Duotone()
           Duotone effect constructor.
 
Method Summary
 IColorFormat getColor1()
           Returns target color format for dark pixels.
 IColorFormat getColor2()
           Returns target color format for light pixels.
 EffectEffectiveData getReadonly(BaseSlide slide, FloatColor styleColor)
           
 
Methods inherited from class com.aspose.slides.ImageTransformOperation
getPresentation, getSlide
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.ISlideComponent
getSlide
 
Methods inherited from interface com.aspose.slides.IPresentationComponent
getPresentation
 

Constructor Detail

Duotone

public Duotone()

Duotone effect constructor.

Method Detail

getColor1

public IColorFormat getColor1()

Returns target color format for dark pixels. Readonly ColorFormat.

Specified by:
getColor1 in interface IDuotone

getColor2

public IColorFormat getColor2()

Returns target color format for light pixels. Readonly ColorFormat.

Specified by:
getColor2 in interface IDuotone

getReadonly

public EffectEffectiveData getReadonly(BaseSlide slide,
                                       FloatColor styleColor)