net.refractions.udig.ui.palette
Class ColorBrewer

java.lang.Object
  extended by net.refractions.udig.ui.palette.ColorBrewer

Deprecated. org.geotools.brewer.color.ColorBrewer

public final class ColorBrewer
extends java.lang.Object

Class gathering up the ColorBrewer palettes.

Since:
0.6.0
Author:
Biliang Zhou, GeoVISTA Center (Penn State, Dept. of Geography), Jody Garnett, Refractions Research
See Also:
http://www.personal.psu.edu/faculty/c/a/cab38/ColorBrewerBeta2.html, http://jira.codehaus.org/browse/UDIG-204, http://cvs.sourceforge.net/viewcvs.py/geovistastudio/geovistastudio/GeoVista/colorbrewer/src/edu/psu/geovista/colorbrewer/ColorSpecifics.java?rev=1.5&view=auto

Field Summary
static Palette BLUES
          Deprecated. BLUES field
static Palette BRGB
          Deprecated. BRBG field
static Palette BUGN
          Deprecated. BUGN field
 
Constructor Summary
ColorBrewer()
          Deprecated.  
 
Method Summary
static double distance(java.awt.Color a, java.awt.Color b)
          Deprecated. Distance between colors (between 0.0 and 1.0 ).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLUES

public static final Palette BLUES
Deprecated. 
BLUES field


BUGN

public static final Palette BUGN
Deprecated. 
BUGN field


BRGB

public static final Palette BRGB
Deprecated. 
BRBG field

Constructor Detail

ColorBrewer

public ColorBrewer()
Deprecated. 
Method Detail

distance

public static final double distance(java.awt.Color a,
                                    java.awt.Color b)
Deprecated. 
Distance between colors (between 0.0 and 1.0 ).

A magic function where:

I am sure some researcher somewhere is laughing.

Parameters:
a -
b -
Returns:
distance such that 0 implys a equals b