public class BackgroundColor extends Color
| Modifier and Type | Field and Description |
|---|---|
static BackgroundColor |
BLACK |
static BackgroundColor |
BLUE |
static BackgroundColor |
CYAN |
static BackgroundColor |
DARK_GRAY |
static BackgroundColor |
GRAY |
static BackgroundColor |
GREEN |
static BackgroundColor |
LIGHT_GRAY |
static BackgroundColor |
MAGENTA |
static BackgroundColor |
NULL |
static BackgroundColor |
ORANGE |
static BackgroundColor |
PINK |
static BackgroundColor |
RED |
static BackgroundColor |
WHITE |
static BackgroundColor |
YELLOW |
black, blue, cyan, darkGray, gray, green, lightGray, magenta, orange, pink, red, white, yellowBITMASK, OPAQUE, TRANSLUCENT| Modifier | Constructor and Description |
|---|---|
protected |
BackgroundColor(Color other) |
protected |
BackgroundColor(int rgb) |
| Modifier and Type | Method and Description |
|---|---|
static BackgroundColor |
of(Color color) |
static BackgroundColor |
of(int rgb) |
static BackgroundColor |
of(String colorName) |
brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB, toStringpublic static final BackgroundColor NULL
public static final BackgroundColor WHITE
public static final BackgroundColor LIGHT_GRAY
public static final BackgroundColor GRAY
public static final BackgroundColor DARK_GRAY
public static final BackgroundColor BLACK
public static final BackgroundColor RED
public static final BackgroundColor PINK
public static final BackgroundColor ORANGE
public static final BackgroundColor YELLOW
public static final BackgroundColor GREEN
public static final BackgroundColor MAGENTA
public static final BackgroundColor CYAN
public static final BackgroundColor BLUE
protected BackgroundColor(Color other)
protected BackgroundColor(int rgb)
public static BackgroundColor of(Color color)
public static BackgroundColor of(int rgb)
public static BackgroundColor of(String colorName)
Copyright © 2019. All rights reserved.