|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.draw.Color
com.sencha.gxt.chart.client.draw.Hue
com.sencha.gxt.chart.client.draw.HSL
public class HSL
Represent an HSL color.
| Field Summary |
|---|
| Fields inherited from class com.sencha.gxt.chart.client.draw.Color |
|---|
NONE |
| Constructor Summary | |
|---|---|
HSL()
Creates an HSL instance with default values. |
|
HSL(double hue,
double saturation,
double lightness)
Creates an HSV instance using the given hue, saturation and lightness. |
|
HSL(RGB rgb)
Creates an HSV instance from the given RGB color. |
|
| Method Summary | |
|---|---|
String |
getColor()
Returns the literal string of the color. |
double |
getLightness()
Returns the lightness value. |
void |
setLightness(double lightness)
Sets the lightness value. |
String |
toString()
Return the color in String format. |
| Methods inherited from class com.sencha.gxt.chart.client.draw.Hue |
|---|
getHue, getSaturation, setHue, setSaturation |
| Methods inherited from class com.sencha.gxt.chart.client.draw.Color |
|---|
setColor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HSL()
public HSL(double hue,
double saturation,
double lightness)
hue - the hue valuesaturation - the saturation valuelightness - the lightness valuepublic HSL(RGB rgb)
RGB color.
rgb - the RGB color| Method Detail |
|---|
public String getColor()
Color
getColor in class Colorpublic double getLightness()
public void setLightness(double lightness)
lightness - the lightness valuepublic String toString()
Color
toString in class Color
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||