com.rubecula.darwin.examples.pepperedmoth
Class SootColor

java.lang.Object
  extended by java.awt.Color
      extended by com.rubecula.darwin.examples.pepperedmoth.SootColor
All Implemented Interfaces:
java.awt.Paint, java.awt.Transparency, java.io.Serializable

public class SootColor
extends java.awt.Color

This class extends Color to model a soot color.

Author:
Robin Hillyard
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
protected SootColor(float x)
           
  SootColor(java.lang.Float sootValue, java.lang.Float maxSootDensity)
           
 
Method Summary
 
Methods inherited from class java.awt.Color
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SootColor

public SootColor(java.lang.Float sootValue,
                 java.lang.Float maxSootDensity)
Parameters:
sootValue -
maxSootDensity -

SootColor

protected SootColor(float x)
Parameters:
x - a float value between 0 and 1


Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.