com.itextpdf.text
Class BaseColor

java.lang.Object
  extended by com.itextpdf.text.BaseColor
Direct Known Subclasses:
ExtendedColor

public class BaseColor
extends Object

Author:
psoares

Field Summary
static BaseColor BLACK
           
static BaseColor BLUE
           
static BaseColor CYAN
           
static BaseColor DARK_GRAY
           
private static double FACTOR
           
static BaseColor GRAY
           
static BaseColor GREEN
           
static BaseColor LIGHT_GRAY
           
static BaseColor MAGENTA
           
static BaseColor ORANGE
           
static BaseColor PINK
           
static BaseColor RED
           
private  int value
           
static BaseColor WHITE
           
static BaseColor YELLOW
           
 
Constructor Summary
BaseColor(Color color)
           
BaseColor(float red, float green, float blue)
           
BaseColor(float red, float green, float blue, float alpha)
           
BaseColor(int argb)
           
BaseColor(int red, int green, int blue)
           
BaseColor(int red, int green, int blue, int alpha)
           
 
Method Summary
 BaseColor brighter()
           
 BaseColor darker()
           
 boolean equals(Object obj)
           
 int getAlpha()
           
 int getBlue()
           
 int getGreen()
           
 int getRed()
           
 int getRGB()
           
 int hashCode()
           
private static void validate(int value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WHITE

public static final BaseColor WHITE

LIGHT_GRAY

public static final BaseColor LIGHT_GRAY

GRAY

public static final BaseColor GRAY

DARK_GRAY

public static final BaseColor DARK_GRAY

BLACK

public static final BaseColor BLACK

RED

public static final BaseColor RED

PINK

public static final BaseColor PINK

ORANGE

public static final BaseColor ORANGE

YELLOW

public static final BaseColor YELLOW

GREEN

public static final BaseColor GREEN

MAGENTA

public static final BaseColor MAGENTA

CYAN

public static final BaseColor CYAN

BLUE

public static final BaseColor BLUE

FACTOR

private static final double FACTOR
See Also:
Constant Field Values

value

private int value
Constructor Detail

BaseColor

public BaseColor(int red,
                 int green,
                 int blue,
                 int alpha)

BaseColor

public BaseColor(int red,
                 int green,
                 int blue)

BaseColor

public BaseColor(float red,
                 float green,
                 float blue,
                 float alpha)

BaseColor

public BaseColor(float red,
                 float green,
                 float blue)

BaseColor

public BaseColor(int argb)

BaseColor

public BaseColor(Color color)
Method Detail

getRGB

public int getRGB()

getRed

public int getRed()

getGreen

public int getGreen()

getBlue

public int getBlue()

getAlpha

public int getAlpha()

brighter

public BaseColor brighter()

darker

public BaseColor darker()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

validate

private static void validate(int value)

Hosted by Hostbasket