public class CssColor extends Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
CssColor(ColorSpace cspace,
float[] components,
float alpha) |
CssColor(float r,
float g,
float b) |
CssColor(float r,
float g,
float b,
float a) |
CssColor(int rgb) |
CssColor(int rgba,
boolean hasalpha) |
CssColor(int r,
int g,
int b) |
CssColor(int r,
int g,
int b,
int a) |
Modifier and Type | Method and Description |
---|---|
static CssColor |
getInstance(Color color) |
String |
toString() |
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
public CssColor(int rgb)
public CssColor(int rgba, boolean hasalpha)
public CssColor(int r, int g, int b)
public CssColor(float r, float g, float b)
public CssColor(ColorSpace cspace, float[] components, float alpha)
public CssColor(int r, int g, int b, int a)
public CssColor(float r, float g, float b, float a)
Copyright © 2012-2018. All Rights Reserved.