|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Color | |
|---|---|
| org.newdawn.slick | This package contains the actual API the game developer should be using. |
| Uses of Color in org.newdawn.slick |
|---|
| Fields in org.newdawn.slick declared as Color | |
|---|---|
static Color |
Color.black
The fixed colour black |
static Color |
Color.blue
The fixed colour blue |
static Color |
Color.cyan
The fixed colour cyan |
static Color |
Color.darkGray
The fixed colour dark gray |
static Color |
Color.gray
The fixed colour gray |
static Color |
Color.green
The fixed colour green |
static Color |
Color.lightGray
The fixed colour light gray |
static Color |
Color.magenta
The fixed colour dark magenta |
static Color |
Color.orange
The fixed colour dark orange |
static Color |
Color.pink
The fixed colour dark pink |
static Color |
Color.red
The fixed colour red |
static Color |
Color.white
The fixed colour white |
static Color |
Color.yellow
The fixed colour yellow |
| Methods in org.newdawn.slick that return Color | |
|---|---|
Color |
Color.brighter()
Make a brighter instance of this colour |
Color |
Color.brighter(float scale)
Make a brighter instance of this colour |
Color |
Color.darker()
Make a darker instance of this colour |
Color |
Color.darker(float scale)
Make a darker instance of this colour |
static Color |
Color.decode(java.lang.String nm)
Decode a number in a string and process it as a colour reference. |
Color |
Color.multiply(Color c)
Multiply this color by another |
| Methods in org.newdawn.slick with parameters of type Color | |
|---|---|
void |
Color.add(Color c)
Add another colour to this one |
void |
Font.drawString(float x,
float y,
java.lang.String text,
Color col)
Draw a string to the screen |
void |
TrueTypeFont.drawString(float x,
float y,
java.lang.String whatchars,
Color color)
Draw a string |
void |
Font.drawString(float x,
float y,
java.lang.String text,
Color col,
int startIndex,
int endIndex)
Draw part of a string to the screen. |
void |
TrueTypeFont.drawString(float x,
float y,
java.lang.String whatchars,
Color color,
int startIndex,
int endIndex)
|
Color |
Color.multiply(Color c)
Multiply this color by another |
| Constructors in org.newdawn.slick with parameters of type Color | |
|---|---|
Color(Color color)
Copy constructor |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||