org.biojava.spice.manypanel.renderer
Class DrawUtils

java.lang.Object
  extended byorg.biojava.spice.manypanel.renderer.DrawUtils

public class DrawUtils
extends Object


Constructor Summary
DrawUtils()
           
 
Method Summary
static Color getAlphaGradient(Color c1, double ratio)
           
static Color getColorGradient(Color c1, Color c2, double ratio)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawUtils

public DrawUtils()
Method Detail

getAlphaGradient

public static Color getAlphaGradient(Color c1,
                                     double ratio)

getColorGradient

public static Color getColorGradient(Color c1,
                                     Color c2,
                                     double ratio)