public class GrayColor extends ExtendedColor
Modifier and Type | Field and Description |
---|---|
static GrayColor |
GRAYBLACK |
static GrayColor |
GRAYWHITE |
MAX_COLOR_VALUE, MAX_FLOAT_COLOR_VALUE, MAX_INT_COLOR_VALUE, type, TYPE_CMYK, TYPE_GRAY, TYPE_PATTERN, TYPE_RGB, TYPE_SEPARATION, TYPE_SHADING
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
GrayColor(float floatGray) |
GrayColor(float floatGray,
float alpha) |
GrayColor(int intGray) |
GrayColor(int intGray,
int alpha) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
float |
getGray() |
int |
hashCode() |
getType, getType
brighter, createContext, darker, decode, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, HSBtoRGB, RGBtoHSB, toString
public static final GrayColor GRAYBLACK
public static final GrayColor GRAYWHITE
Copyright © 2020. All rights reserved.