@Immutable public class Color extends Object
Modifier and Type | Field and Description |
---|---|
static Color |
BLACK |
static Color |
BLUE |
static Color |
FUCHSIA |
static Color |
GRAY |
static Color |
GREEN |
static Color |
LIME |
static Color |
MAROON |
static Color |
NAVY |
static Color |
OLIVE |
static Color |
ORANGE |
static Color |
PURPLE |
static Color |
RED |
static Color |
SILVER |
static Color |
TEAL |
static Color |
WHITE |
static Color |
YELLOW |
Modifier and Type | Method and Description |
---|---|
int |
asBGR() |
int |
asRGB() |
int |
blue() |
static Color |
fromRGB(int rgb) |
static Color |
fromRGB(int red,
int green,
int blue) |
int |
green() |
int |
red() |
Color |
setBlue(int blue) |
Color |
setGreen(int green) |
Color |
setRed(int red) |
Copyright © 2016. All rights reserved.