| java.lang.Object | |
| ↳ | casmi.graphics.color.GrayColor |
Gray color class.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| alpha | |||||||||||
| gray | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new GrayColor object using a gray-scale value.
| |||||||||||
Creates a new GrayColor object using gray-scale and alpha values.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a Color object that shows a complementary color.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
casmi.graphics.color.Color
| |||||||||||
Creates a new GrayColor object using a gray-scale value.
| gray | The gray-scale value, from 0.0 to 1.0. |
|---|
Creates a new GrayColor object using gray-scale and alpha values.
| gray | The gray-scale value, from 0.0 to 1.0. |
|---|---|
| alpha | The alpha value, from 0.0 to 1.0. |
Returns a Color object that shows a complementary color.