com.aspose.slides
Class Duotone

java.lang.Object
  extended by com.aspose.slides.ImageTransformOperationEx
      extended by com.aspose.slides.Duotone
All Implemented Interfaces:
java.lang.Cloneable

public class Duotone
extends ImageTransformOperationEx

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
 ColorFormatEx getColor1()
           Returns target color format for dark pixels.
 ColorFormatEx getColor2()
           Returns target color format for light pixels.
 EffectDataEx getReadonly(BaseSlideEx slide, com.aspose.slides.ColorFormatEx.FloatColor styleColor)
           
 
Methods inherited from class com.aspose.slides.ImageTransformOperationEx
getPresentation, getSlide
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Duotone

public Duotone()

Duotone effect constructor.

Method Detail

getColor1

public ColorFormatEx getColor1()

Returns target color format for dark pixels. Readonly ColorFormatEx.


getColor2

public ColorFormatEx getColor2()

Returns target color format for light pixels. Readonly ColorFormatEx.


getReadonly

public EffectDataEx getReadonly(BaseSlideEx slide,
                                com.aspose.slides.ColorFormatEx.FloatColor styleColor)