java.lang.Object
java.awt.Color
com.lowagie.text.pdf.ExtendedColor
- All Implemented Interfaces:
Paint,Transparency,Serializable
- Direct Known Subclasses:
CMYKColor,GrayColor,PatternColor,RGBColor,ShadingColor,SpotColor
Deprecated.
- Author:
- Paulo Soares (psoares@consiste.pt)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.the max int color value (255) expressed in intstatic final floatDeprecated.the max float color value (1) expressed in floatstatic final floatDeprecated.the max int color value (255) expressed in floatprotected intDeprecated.static final intDeprecated.a type of extended color.static final intDeprecated.a type of extended color.static final intDeprecated.a type of extended color.static final intDeprecated.a type of extended color.static final intDeprecated.a type of extended color.static final intDeprecated.a type of extended color.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, YELLOWFields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT -
Constructor Summary
ConstructorsConstructorDescriptionExtendedColor(int type) Deprecated.Constructs an extended color of a certain type.ExtendedColor(int type, float red, float green, float blue) Deprecated.Constructs an extended color of a certain type and a certain color.ExtendedColor(int type, float red, float green, float blue, float alpha) Deprecated.Constructs an extended color of a certain type and a certain color. -
Method Summary
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
-
Field Details
-
TYPE_RGB
public static final int TYPE_RGBDeprecated.a type of extended color.- See Also:
-
TYPE_GRAY
public static final int TYPE_GRAYDeprecated.a type of extended color.- See Also:
-
TYPE_CMYK
public static final int TYPE_CMYKDeprecated.a type of extended color.- See Also:
-
TYPE_SEPARATION
public static final int TYPE_SEPARATIONDeprecated.a type of extended color.- See Also:
-
TYPE_PATTERN
public static final int TYPE_PATTERNDeprecated.a type of extended color.- See Also:
-
TYPE_SHADING
public static final int TYPE_SHADINGDeprecated.a type of extended color.- See Also:
-
MAX_COLOR_VALUE
public static final int MAX_COLOR_VALUEDeprecated.the max int color value (255) expressed in int- See Also:
-
MAX_INT_COLOR_VALUE
public static final float MAX_INT_COLOR_VALUEDeprecated.the max int color value (255) expressed in float- See Also:
-
MAX_FLOAT_COLOR_VALUE
public static final float MAX_FLOAT_COLOR_VALUEDeprecated.the max float color value (1) expressed in float- See Also:
-
type
protected int typeDeprecated.
-
-
Constructor Details
-
ExtendedColor
public ExtendedColor(int type) Deprecated.Constructs an extended color of a certain type.- Parameters:
type-type
-
ExtendedColor
public ExtendedColor(int type, float red, float green, float blue) Deprecated.Constructs an extended color of a certain type and a certain color.- Parameters:
type-typered- red quotientgreen- green quotientblue- blue quotient
-
ExtendedColor
public ExtendedColor(int type, float red, float green, float blue, float alpha) Deprecated.Constructs an extended color of a certain type and a certain color.- Parameters:
type-typered- red quotientgreen- green quotientblue- blue quotientalpha- alpha quotient
-
-
Method Details
-
getType
Deprecated.Gets the type of a given color.- Parameters:
color- an object ofColor- Returns:
- one of the types (see constants)
-
getType
public int getType()Deprecated.Gets the type of this color.- Returns:
- one of the types (see constants)
-