com.aspose.slides
Class DuotoneEffectiveData

java.lang.Object
  extended by com.aspose.slides.EffectEffectiveData
      extended by com.aspose.slides.DuotoneEffectiveData
All Implemented Interfaces:
IDuotoneEffectiveData, IEffectEffectiveData

public class DuotoneEffectiveData
extends EffectEffectiveData
implements IDuotoneEffectiveData

Immutable object which represents a Duotone effect. For each pixel, combines clr1 and clr2 through a linear interpolation to determine the new color for that pixel.


Method Summary
 java.awt.Color getColor1()
           Returns a first color.
 java.awt.Color getColor2()
           Returns a second color.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColor1

public java.awt.Color getColor1()

Returns a first color. Read-only Color.

Specified by:
getColor1 in interface IDuotoneEffectiveData

getColor2

public java.awt.Color getColor2()

Returns a second color. Read-only Color.

Specified by:
getColor2 in interface IDuotoneEffectiveData


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