| Modifier and Type | Method and Description |
|---|---|
static Gray |
Gray.fromRGB(Color c)
Creates a
Gray instance from a Color. |
| Modifier and Type | Method and Description |
|---|---|
int |
Gray.compareTo(Gray other)
Compares two
Gray instances by their gray values. |
| Constructor and Description |
|---|
Gray(Gray other)
Initializes the gray value of this object by copying another
Gray object. |