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, 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.


Method Summary
 IColorFormat getColor1()
           Returns target color format for dark pixels.
 IColorFormat getColor2()
           Returns target color format for light pixels.
 com.aspose.slides.EffectEffectiveDataPVITemp getEffective()
           
 EffectEffectiveData getEffective(BaseSlide slide, com.aspose.slides.util.FloatColor styleColor)
           
 long getVersion()
           
 
Methods inherited from class com.aspose.slides.ImageTransformOperation
getParent_Immediate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColor1

public IColorFormat getColor1()

Returns target color format for dark pixels. Read-only IColorFormat.

Specified by:
getColor1 in interface IDuotone

getColor2

public IColorFormat getColor2()

Returns target color format for light pixels. Read-only IColorFormat.

Specified by:
getColor2 in interface IDuotone

getEffective

public final EffectEffectiveData getEffective(BaseSlide slide,
                                              com.aspose.slides.util.FloatColor styleColor)

getEffective

public final com.aspose.slides.EffectEffectiveDataPVITemp getEffective()

getVersion

public long getVersion()
Overrides:
getVersion in class ImageTransformOperation


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.