public class X11Color
extends java.awt.Color
Constructor and Description |
---|
X11Color(java.lang.String colorStr)
Creates a colr with given X11 color name.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getColorNames()
Returns the implemented X11 color names.
|
static java.awt.Color |
toColor(java.lang.String colorStr)
Returns the color reference attributed to the given X11 color name.
|
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, toString
public X11Color(java.lang.String colorStr)
colorStr
- the X11 color name (case insensitive)public static java.lang.String[] getColorNames()
public static java.awt.Color toColor(java.lang.String colorStr)
colorStr
- the X11 color name (case insensitive)