org.jfree.layouting.input.style.values
public class CSSColorValue extends java.awt.Color implements CSSValue
Constructor and Description |
---|
CSSColorValue(java.awt.Color color) |
CSSColorValue(float r,
float g,
float b) |
CSSColorValue(float r,
float g,
float b,
float a) |
CSSColorValue(int rgba,
boolean hasalpha) |
CSSColorValue(int r,
int g,
int b) |
CSSColorValue(int r,
int g,
int b,
int a) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCSSText() |
java.lang.String |
toString()
Returns a string representation of this
Color . |
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 CSSColorValue(int r, int g, int b, int a)
public CSSColorValue(int rgba, boolean hasalpha)
public CSSColorValue(float r, float g, float b, float a)
public CSSColorValue(float r, float g, float b)
public CSSColorValue(int r, int g, int b)
public CSSColorValue(java.awt.Color color)
public java.lang.String getCSSText()
getCSSText
in interface CSSValue
public java.lang.String toString()
Color
. This method is
intended to be used only for debugging purposes. The content and format of
the returned string might vary between implementations. The returned string
might be empty but cannot be null
.toString
in class java.awt.Color
Color
.