| java.lang.Object | |
| ↳ | casmi.graphics.color.RGBColor |
RGB color class.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| alpha | |||||||||||
| blue | |||||||||||
| green | |||||||||||
| red | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Color object using Grayscale value.
| |||||||||||
Creates a new Color object using Grayscale and alpha values.
| |||||||||||
Creates a new Color object using RGB values.
| |||||||||||
Creates a new Color object using RGB and alpha values.
| |||||||||||
Creates a new Color object using RGB value in hexadecimal notation (i.e.
| |||||||||||
Creates a new Color object from ColorSet.
| |||||||||||
Creates a new Color object from ColorSet and an alpha value.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the colorset's RGB values.
| |||||||||||
Returns a Color object that shows a complementary color.
| |||||||||||
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 Grayscale value.
| gray | The grayscale value. 0.0 - 1.0. |
|---|
Creates a new Color object using Grayscale and alpha values.
| gray | The grayscale value. 0.0 - 1.0. |
|---|---|
| alpha | The alpha value. 0.0 - 1.0. |
Creates a new Color object using RGB values.
| red | The R value. 0.0 - 1.0. |
|---|---|
| green | The G value. 0.0 - 1.0. |
| blue | The B value. 0.0 - 1.0. |
Creates a new Color object using RGB and alpha values.
| red | The R value. 0.0 - 1.0. |
|---|---|
| green | The G value. 0.0 - 1.0. |
| blue | The B value. 0.0 - 1.0. |
| alpha | The Alpha value. 0.0 - 1.0. |
Creates a new Color object using RGB value in hexadecimal notation (i.e. "#FFCC44" or 0xFFFFCC00)
Creates a new Color object from ColorSet and an alpha value.
| colorSet | ColorSet. |
|---|---|
| alpha | alpha value. 0.0 - 1.0. |
Returns the colorset's RGB values.
| colorSet | The ColorSet. |
|---|
Returns a Color object that shows a complementary color.
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 |