|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.itextpdf.text.BaseColor com.itextpdf.text.pdf.ExtendedColor
public abstract class ExtendedColor
Field Summary | |
---|---|
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. |
Fields inherited from class com.itextpdf.text.BaseColor |
---|
BLACK, BLUE, CYAN, DARK_GRAY, GRAY, GREEN, LIGHT_GRAY, MAGENTA, ORANGE, PINK, RED, WHITE, YELLOW |
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. |
|
ExtendedColor(int type,
int red,
int green,
int blue,
int alpha)
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(BaseColor color)
Gets the type of a given color. |
Methods inherited from class com.itextpdf.text.BaseColor |
---|
brighter, darker, equals, getAlpha, getBlue, getGreen, getRed, getRGB, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_RGB
public static final int TYPE_GRAY
public static final int TYPE_CMYK
public static final int TYPE_SEPARATION
public static final int TYPE_PATTERN
public static final int TYPE_SHADING
protected int type
Constructor Detail |
---|
public ExtendedColor(int type)
type
- public ExtendedColor(int type, float red, float green, float blue)
type
- red
- green
- blue
- public ExtendedColor(int type, int red, int green, int blue, int alpha)
type
- red
- green
- blue
- alpha
- Method Detail |
---|
public int getType()
public static int getType(BaseColor color)
color
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |