org.onebusaway.webapp.gwt.oba_library.control
Class Colormap

java.lang.Object
  extended by org.onebusaway.webapp.gwt.oba_library.control.Colormap

public class Colormap
extends Object


Constructor Summary
Colormap(double[][] rgbs, double[] opacity)
           
 
Method Summary
 String getColor(double ratio)
           
 double getOpacity(double ratio)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Colormap

public Colormap(double[][] rgbs,
                double[] opacity)
Method Detail

getColor

public String getColor(double ratio)

getOpacity

public double getOpacity(double ratio)


Copyright © 2012 OneBusAway. All Rights Reserved.