TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.igc.util.internal
Interface IGradientGenerator

All Known Implementing Classes:
GradientGenerator

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public interface IGradientGenerator

This interface define a RGBA gradient generator. RGBA color are requested using a parameter in the range [0..1], but can also be out range, in this case gradient generator can choose to return transparent color, or any color it want.


Method Summary
 boolean containsTransparency()
          Deprecated.  
 int getRGBA(double _k)
          Deprecated.  
 

Method Detail

getRGBA

int getRGBA(double _k)
Deprecated. 
Returns:
gradient RGBA color defined at given value of coeficient _k (mainly inside [0..1])

containsTransparency

boolean containsTransparency()
Deprecated. 
Returns:
true is current gradient contains transparency. Provide for caller who want to optimize their code avoiding IGC.getPoint() call (or other something like this...).

TPTP 4.5.0 Platform Project
Internal API Specification