|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.graphics.Paint
yu.ac.bg.etf.javaqx.qswing.graphics.Color
Color Class.
Field Summary | |
static Color |
BLACK
The black color. |
static Color |
BLUE
The blue color. |
static Color |
CYAN
The cyan color. |
static Color |
DARK_BLUE
The dark blue color. |
static Color |
DARK_CYAN
The dark cyan color. |
static Color |
DARK_GRAY
The dark gray color. |
static Color |
DARK_GREEN
The dark green color. |
static Color |
DARK_MAGENTA
The dark magenta color. |
static Color |
DARK_RED
The dark red color. |
static Color |
DARK_YELLOW
The dark yellow color. |
static Color |
GRAY
The gray color. |
static Color |
GREEN
The green color. |
static Color |
LIGHT_GRAY
The light gray color. |
static Color |
MAGENTA
The magenta color. |
static Color |
ORANGE
The orange color. |
static Color |
PINK
The pink color. |
static Color |
RED
The red color. |
static Color |
WHITE
The white color. |
static Color |
YELLOW
The yellow color. |
Constructor Summary | |
Color(int argb)
Constructs new Color object. |
|
Color(int r,
int g,
int b)
Constructs new Color object. |
|
Color(int r,
int g,
int b,
int a)
Constructs new Color object. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
int |
getAlpha()
Returns the alpha component of the color. |
int |
getARGB()
Returns the ARGB value representing the color. |
int |
getBlue()
Returns the blue component of the color. |
int |
getGreen()
Returns the green component of the color. |
int |
getRed()
Returns the red component of the color. |
int |
getRGB()
Returns the RGB value representing the color. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Color WHITE
public static final Color LIGHT_GRAY
public static final Color GRAY
public static final Color DARK_GRAY
public static final Color BLACK
public static final Color RED
public static final Color DARK_RED
public static final Color PINK
public static final Color ORANGE
public static final Color YELLOW
public static final Color DARK_YELLOW
public static final Color GREEN
public static final Color DARK_GREEN
public static final Color MAGENTA
public static final Color DARK_MAGENTA
public static final Color CYAN
public static final Color DARK_CYAN
public static final Color BLUE
public static final Color DARK_BLUE
Constructor Detail |
public Color(int argb)
argb
- the argb value of the colorpublic Color(int r, int g, int b)
r
- the red component of the colorg
- the green component of the colorb
- the blue component of the colorpublic Color(int r, int g, int b, int a)
r
- the red component of the colorg
- the green component of the colorb
- the blue component of the colora
- the alpha component of the colorMethod Detail |
public int getAlpha()
public int getRed()
public int getGreen()
public int getBlue()
public int getRGB()
public int getARGB()
public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |