|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgame.JGColor
public class JGColor
Minimal replacement of java.awt.Color.
Field Summary | |
---|---|
int |
alpha
a value between 0 and 255, default is 255 (opaque) |
int |
b
a value between 0 and 255 |
static JGColor |
black
|
static JGColor |
blue
|
static JGColor |
cyan
|
int |
g
a value between 0 and 255 |
static JGColor |
gray
|
static JGColor |
green
|
static JGColor |
grey
|
java.lang.Object |
impl
|
static JGColor |
magenta
|
static JGColor |
orange
|
static JGColor |
pink
|
int |
r
a value between 0 and 255 |
static JGColor |
red
|
static JGColor |
white
|
static JGColor |
yellow
|
Constructor Summary | |
---|---|
JGColor(double r,
double g,
double b)
|
|
JGColor(double r,
double g,
double b,
double alpha)
|
|
JGColor(int r,
int g,
int b)
|
|
JGColor(int r,
int g,
int b,
int alpha)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final JGColor black
public static final JGColor white
public static final JGColor yellow
public static final JGColor green
public static final JGColor cyan
public static final JGColor blue
public static final JGColor magenta
public static final JGColor red
public static final JGColor pink
public static final JGColor orange
public static final JGColor grey
public static final JGColor gray
public int r
public int g
public int b
public int alpha
public java.lang.Object impl
Constructor Detail |
---|
public JGColor(int r, int g, int b)
public JGColor(int r, int g, int b, int alpha)
public JGColor(double r, double g, double b)
public JGColor(double r, double g, double b, double alpha)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |