com.lowagie.text.pdf
Class ExtendedColor
Color
com.lowagie.text.pdf.ExtendedColor
public class ExtendedColor
extends Color
- Paulo Soares (psoares@consiste.pt)
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.
|
int | getType() - Gets the type of this color.
|
static int | getType(Color color) - Gets the type of a given color.
|
(package private) static float | normalize(float value)
|
TYPE_CMYK
public static final int TYPE_CMYK
a type of extended color.
TYPE_GRAY
public static final int TYPE_GRAY
a type of extended color.
TYPE_PATTERN
public static final int TYPE_PATTERN
a type of extended color.
TYPE_RGB
public static final int TYPE_RGB
a type of extended color.
TYPE_SEPARATION
public static final int TYPE_SEPARATION
a type of extended color.
TYPE_SHADING
public static final int TYPE_SHADING
a type of extended color.
ExtendedColor
public ExtendedColor(int type)
Constructs an extended color of a certain type.
ExtendedColor
public ExtendedColor(int type,
float red,
float green,
float blue)
Constructs an extended color of a certain type and a certain color.
type
- red
- green
- blue
-
getType
public int getType()
Gets the type of this color.
- one of the types (see constants)
getType
public static int getType(Color color)
Gets the type of a given color.
- one of the types (see constants)
normalize
(package private) static final float normalize(float value)