Package org.javlo.image
Class EmptyColor
- java.lang.Object
-
- java.awt.Color
-
- org.javlo.image.ExtendedColor
-
- org.javlo.image.EmptyColor
-
- All Implemented Interfaces:
Paint
,Transparency
,Serializable
public class EmptyColor extends ExtendedColor
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyColor
instance
-
Fields inherited from class org.javlo.image.ExtendedColor
BLACK, WHITE
-
Fields inherited from class java.awt.Color
black, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, yellow, YELLOW
-
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
-
Constructor Summary
Constructors Constructor Description EmptyColor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHTMLCode()
boolean
isDark()
boolean
isFilled()
String
toString()
-
Methods inherited from class org.javlo.image.ExtendedColor
decode, getAlphaHTMLCode, getBlueProportion, getGreenProportion, getRedProportion, getText, isDarker, isLighter, main
-
Methods inherited from class java.awt.Color
brighter, createContext, darker, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB
-
-
-
-
Field Detail
-
instance
public static final EmptyColor instance
-
-
Method Detail
-
getHTMLCode
public String getHTMLCode()
- Overrides:
getHTMLCode
in classExtendedColor
-
isDark
public boolean isDark()
- Overrides:
isDark
in classExtendedColor
-
toString
public String toString()
- Overrides:
toString
in classExtendedColor
-
isFilled
public boolean isFilled()
- Overrides:
isFilled
in classExtendedColor
-
-