public class GrayColor extends ExtendedColor
Modifier and Type | Field and Description |
---|---|
private float |
gray |
static GrayColor |
GRAYBLACK |
static GrayColor |
GRAYWHITE |
private static long |
serialVersionUID |
type, TYPE_CMYK, TYPE_GRAY, TYPE_PATTERN, TYPE_RGB, TYPE_SEPARATION, TYPE_SHADING
Constructor and Description |
---|
GrayColor(float floatGray) |
GrayColor(int intGray) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
float |
getGray() |
int |
hashCode() |
getType, getType, normalize
brighter, createContext, darker, decode, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, HSBtoRGB, RGBtoHSB, toString
private static final long serialVersionUID
private float gray
public static final GrayColor GRAYBLACK
public static final GrayColor GRAYWHITE