|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.itextpdf.text.BaseColor
public class BaseColor
Field Summary | |
---|---|
static BaseColor |
BLACK
|
static BaseColor |
BLUE
|
static BaseColor |
CYAN
|
static BaseColor |
DARK_GRAY
|
static BaseColor |
GRAY
|
static BaseColor |
GREEN
|
static BaseColor |
LIGHT_GRAY
|
static BaseColor |
MAGENTA
|
static BaseColor |
ORANGE
|
static BaseColor |
PINK
|
static BaseColor |
RED
|
static BaseColor |
WHITE
|
static BaseColor |
YELLOW
|
Constructor Summary | |
---|---|
BaseColor(float red,
float green,
float blue)
Construct a BaseColor with float values. |
|
BaseColor(float red,
float green,
float blue,
float alpha)
Construct a BaseColor with float values. |
|
BaseColor(int argb)
Construct a BaseColor by setting the combined value. |
|
BaseColor(int red,
int green,
int blue)
|
|
BaseColor(int red,
int green,
int blue,
int alpha)
Construct a new BaseColor. |
Method Summary | |
---|---|
BaseColor |
brighter()
Make this BaseColor brighter. |
BaseColor |
darker()
Make this color darker. |
boolean |
equals(Object obj)
|
int |
getAlpha()
|
int |
getBlue()
|
int |
getGreen()
|
int |
getRed()
|
int |
getRGB()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final BaseColor WHITE
public static final BaseColor LIGHT_GRAY
public static final BaseColor GRAY
public static final BaseColor DARK_GRAY
public static final BaseColor BLACK
public static final BaseColor RED
public static final BaseColor PINK
public static final BaseColor ORANGE
public static final BaseColor YELLOW
public static final BaseColor GREEN
public static final BaseColor MAGENTA
public static final BaseColor CYAN
public static final BaseColor BLUE
Constructor Detail |
---|
public BaseColor(int red, int green, int blue, int alpha)
red
- the value for the red gammagreen
- the value for the green gammablue
- the value for the blue gammaalpha
- the value for the alpha gammapublic BaseColor(int red, int green, int blue)
red
- green
- blue
- public BaseColor(float red, float green, float blue, float alpha)
red
- green
- blue
- alpha
- public BaseColor(float red, float green, float blue)
red
- green
- blue
- public BaseColor(int argb)
argb
- Method Detail |
---|
public int getRGB()
public int getRed()
public int getGreen()
public int getBlue()
public int getAlpha()
public BaseColor brighter()
public BaseColor darker()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |