Class ExtendedColor
java.lang.Object
java.awt.Color
com.aowagie.text.pdf.ExtendedColor
- All Implemented Interfaces:
Paint, Transparency, Serializable
- Direct Known Subclasses:
GrayColor, PatternColor, ShadingColor, SpotColor
- Author:
- Paulo Soares (psoares@consiste.pt)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intstatic final inta type of extended color.static final inta type of extended color.static final inta type of extended color.static final inta type of extended color.static final inta type of extended color.static final inta type of extended color.Fields inherited from class Color
black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOWFields inherited from interface Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Method Summary
Methods inherited from class 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, toString
-
Field Details
-
TYPE_RGB
public static final int TYPE_RGBa type of extended color.- See Also:
-
TYPE_GRAY
public static final int TYPE_GRAYa type of extended color.- See Also:
-
TYPE_CMYK
public static final int TYPE_CMYKa type of extended color.- See Also:
-
TYPE_SEPARATION
public static final int TYPE_SEPARATIONa type of extended color.- See Also:
-
TYPE_PATTERN
public static final int TYPE_PATTERNa type of extended color.- See Also:
-
TYPE_SHADING
public static final int TYPE_SHADINGa type of extended color.- See Also:
-
type
protected int type
-
-
Method Details
-
getType
public int getType()Gets the type of this color.- Returns:
- one of the types (see constants)
-