com.lowagie.text.pdf
public abstract class ExtendedColor extends Color
Field Summary | |
---|---|
static long | serialVersionUID |
protected int | type |
static int | TYPE_CMYK a type of extended color. |
static int | TYPE_GRAY a type of extended color. |
static int | TYPE_PATTERN a type of extended color. |
static int | TYPE_RGB a type of extended color. |
static int | TYPE_SEPARATION a type of extended color. |
static int | TYPE_SHADING a type of extended color. |
Constructor Summary | |
---|---|
ExtendedColor(int type)
Constructs an extended color of a certain type. | |
ExtendedColor(int type, float red, float green, float blue)
Constructs an extended color of a certain type and a certain color. |
Method Summary | |
---|---|
int | getType()
Gets the type of this color. |
static int | getType(Color color)
Gets the type of a given color. |
static float | normalize(float value) |
Parameters: type
Parameters: type red green blue
Returns: one of the types (see constants)
Parameters: color
Returns: one of the types (see constants)