|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JTGLColor | |
---|---|
org.jtgl.core | |
org.jtgl.gaming |
Uses of JTGLColor in org.jtgl.core |
---|
Fields in org.jtgl.core declared as JTGLColor | |
---|---|
protected JTGLColor |
JTGLGraphics._currBGColor
Current background color |
protected JTGLColor |
JTGLGraphics._currColor
Current foreground color |
static JTGLColor |
JTGLColor.BLACK
The color black. |
static JTGLColor |
JTGLColor.BLUE
The color blue. |
static JTGLColor |
JTGLColor.CYAN
The color cyan. |
static JTGLColor |
JTGLColor.DARK_GRAY
The color dark gray. |
static JTGLColor |
JTGLColor.GRAY
The color gray. |
static JTGLColor |
JTGLColor.GREEN
The color green. |
static JTGLColor |
JTGLColor.LIGHT_GRAY
The color light gray. |
static JTGLColor |
JTGLColor.MAGENTA
The color magenta. |
static JTGLColor |
JTGLColor.ORANGE
The color orange. |
static JTGLColor |
JTGLColor.PINK
The color pink. |
static JTGLColor |
JTGLColor.RED
The color red. |
static JTGLColor |
JTGLColor.WHITE
The color white. |
static JTGLColor |
JTGLColor.YELLOW
The color yellow. |
Methods in org.jtgl.core that return JTGLColor | |
---|---|
JTGLColor |
JTGLGraphics.getBackgroundColor()
|
JTGLColor |
JTGLGraphics.getColor()
|
JTGLColor |
JTGLColor.translucent()
|
JTGLColor |
JTGLColor.translucent(int level)
|
JTGLColor |
JTGLColor.transparent()
|
Methods in org.jtgl.core with parameters of type JTGLColor | |
---|---|
void |
JTGLGraphics.clear(int x,
int y,
int width,
int height,
JTGLColor color)
|
void |
JTGLGraphics.clear(JTGLColor color)
|
void |
JTGLGraphics.clear(JTGLRect rect,
JTGLColor color)
|
void |
JTGLGraphics.drawLine(int xf,
int yf,
int xt,
int yt,
JTGLColor color)
|
void |
JTGLGraphics.drawRect(int x,
int y,
int width,
int height,
JTGLColor color)
|
void |
JTGLGraphics.drawRect(JTGLRect rect,
JTGLColor color)
|
void |
JTGLGraphics.fillRect(int x,
int y,
int width,
int height,
JTGLColor color)
|
void |
JTGLGraphics.fillRect(JTGLRect rect,
JTGLColor color)
|
void |
JTGLGraphics.saveColor(JTGLColor color)
|
void |
JTGLGraphics.setBackgroundColor(JTGLColor color)
Background color is used when clearing this context and for auxiliary color. |
void |
JTGLGraphics.setColor(JTGLColor color)
|
protected void |
JTGLGraphics.setColorInternal(JTGLColor color)
Sets the internal foregound color Subclases may overide this methof if another color packaging or translation (from JTGLColor) is needed. |
void |
JTGLGraphics.setPixel(int x,
int y,
JTGLColor color)
|
Uses of JTGLColor in org.jtgl.gaming |
---|
Methods in org.jtgl.gaming with parameters of type JTGLColor | |
---|---|
void |
RectSurface.setColor(JTGLColor color)
|
Constructors in org.jtgl.gaming with parameters of type JTGLColor | |
---|---|
RectSurface(int width,
int height,
JTGLColor color)
Creates a new instance of RectSurface |
|
RectSurface(JTGLRect rect,
JTGLColor color)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |