com.sencha.gxt.chart.client.draw
Class Hue

java.lang.Object
  extended by com.sencha.gxt.chart.client.draw.Color
      extended by com.sencha.gxt.chart.client.draw.Hue
Direct Known Subclasses:
HSL, HSV

public abstract class Hue
extends Color

Abstract color representing hue and saturation values.


Field Summary
 
Fields inherited from class com.sencha.gxt.chart.client.draw.Color
NONE
 
Constructor Summary
Hue()
           
 
Method Summary
 double getHue()
          Returns the hue value.
 double getSaturation()
          Returns the saturation value.
 void setHue(double hue)
          Sets the hue value.
 void setSaturation(double saturation)
          Sets the saturation value.
 
Methods inherited from class com.sencha.gxt.chart.client.draw.Color
getColor, setColor, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Hue

public Hue()
Method Detail

getHue

public double getHue()
Returns the hue value.

Returns:
the hue value

getSaturation

public double getSaturation()
Returns the saturation value.

Returns:
the saturation value

setHue

public void setHue(double hue)
Sets the hue value.

Parameters:
hue - the hue value

setSaturation

public void setSaturation(double saturation)
Sets the saturation value.

Parameters:
saturation - the saturation value


Copyright © 2011. All Rights Reserved.