| java.lang.Object | |
| ↳ | casmi.graphics.color.HSBColor |
HSB color class.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| alpha | |||||||||||
| brightness | |||||||||||
| hue | |||||||||||
| saturation | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Color object using HSB values.
| |||||||||||
Creates a new Color object using HSB and alpha values.
| |||||||||||
Creates a new Color object from ColorSet.
| |||||||||||
Creates a new Color object from ColorSet and an alpha value.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a Color object that shows a complementary color.
| |||||||||||
Calculates a color or colors between two color at a specific increment.
| |||||||||||
Calculates a color or colors between two color at a specific increment.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
casmi.graphics.color.Color
| |||||||||||
Creates a new Color object using HSB values.
| hue | The H value. 0.0 - 1.0. |
|---|---|
| saturation | The S value. 0.0 - 1.0. |
| brightness | The B value. 0.0 - 1.0. |
Creates a new Color object using HSB and alpha values.
| hue | The H value. 0.0 - 1.0. |
|---|---|
| saturation | The S value. 0.0 - 1.0. |
| brightness | The B value. 0.0 - 1.0. |
| alpha | The Alpha value. 0.0 - 1.0. |
Creates a new Color object from ColorSet and an alpha value.
| colorSet | ColorSet. |
|---|---|
| alpha | alpha value. 0.0 - 1.0. |
Returns a Color object that shows a complementary color.
Calculates a color or colors between two color at a specific increment.
| color1 | interpolate from this color |
|---|---|
| color2 | interpolate to this color |
| amt | between 0.0 and 1.0 |
Calculates a color or colors between two color at a specific increment.
| colorSet1 | interpolate from this color |
|---|---|
| colorSet2 | interpolate to this color |
| amt | between 0.0 and 1.0 |