com.lowagie.text.pdf
Class ExtendedColor
java.lang.Object
|
+--java.awt.Color
|
+--com.lowagie.text.pdf.ExtendedColor
- All Implemented Interfaces:
- Paint, Serializable, Transparency
- Direct Known Subclasses:
- CMYKColor, GrayColor, PatternColor, ShadingColor, SpotColor
- public class ExtendedColor
- extends Color
- Author:
- Paulo Soares (psoares@consiste.pt)
- See Also:
- Serialized Form
Fields inherited from class java.awt.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, YELLOW |
Methods inherited from class java.awt.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 |
TYPE_RGB
static final int TYPE_RGB
- See Also:
- Constant Field Values
TYPE_GRAY
static final int TYPE_GRAY
- See Also:
- Constant Field Values
TYPE_CMYK
static final int TYPE_CMYK
- See Also:
- Constant Field Values
TYPE_SEPARATION
static final int TYPE_SEPARATION
- See Also:
- Constant Field Values
TYPE_PATTERN
static final int TYPE_PATTERN
- See Also:
- Constant Field Values
TYPE_SHADING
static final int TYPE_SHADING
- See Also:
- Constant Field Values
type
protected int type
ExtendedColor
public ExtendedColor(int type)
ExtendedColor
public ExtendedColor(int type,
float red,
float green,
float blue)
getType
public int getType()
getType
public static int getType(Color color)
normalize
static final float normalize(float value)