com.metsci.glimpse.charts.vector.display
Class ColorPalette

java.lang.Object
  extended by com.metsci.glimpse.charts.vector.display.ColorPalette

public class ColorPalette
extends java.lang.Object


Constructor Summary
ColorPalette(java.awt.Color waterColor, java.awt.Color landColor, java.awt.Color coverageLineColor, java.awt.Color depthLineColor, java.awt.Color coastlineLineColor)
           
 
Method Summary
static ColorPalette createDebugColorPalette()
           
static ColorPalette createDefaultColorPalette()
           
static ColorPalette createGrayscaleColorPalette()
           
 float[] getCoastlineLineColor()
           
 float[] getCoastlineLineColor(float alpha)
           
 float[] getCoverageLineColor()
           
 float[] getCoverageLineColor(float alpha)
           
 float[] getDepthLineColor()
           
 float[] getDepthLineColor(float alpha)
           
 float[] getLandColor()
           
 float[] getLandColor(float alpha)
           
 float[] getWaterColor()
           
 float[] getWaterColor(float alpha)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorPalette

public ColorPalette(java.awt.Color waterColor,
                    java.awt.Color landColor,
                    java.awt.Color coverageLineColor,
                    java.awt.Color depthLineColor,
                    java.awt.Color coastlineLineColor)
Method Detail

createDefaultColorPalette

public static ColorPalette createDefaultColorPalette()

createGrayscaleColorPalette

public static ColorPalette createGrayscaleColorPalette()

createDebugColorPalette

public static ColorPalette createDebugColorPalette()

getWaterColor

public float[] getWaterColor()

getWaterColor

public float[] getWaterColor(float alpha)

getLandColor

public float[] getLandColor()

getLandColor

public float[] getLandColor(float alpha)

getCoverageLineColor

public float[] getCoverageLineColor()

getCoverageLineColor

public float[] getCoverageLineColor(float alpha)

getDepthLineColor

public float[] getDepthLineColor()

getDepthLineColor

public float[] getDepthLineColor(float alpha)

getCoastlineLineColor

public float[] getCoastlineLineColor()

getCoastlineLineColor

public float[] getCoastlineLineColor(float alpha)


Copyright © 2012 Metron, Inc.. All Rights Reserved.