|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.b3dgs.lionengine.utility.Draws
public class Draws
Standard draws operation.
Method Summary | |
---|---|
static void |
bar(java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
boolean raised)
Display a bar. |
static void |
percentBar(java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
int pWidth,
int pHeight,
int hBorder,
int vBorder,
java.awt.Color barC,
java.awt.Color borderC,
boolean topDown,
boolean raised)
Draw a percent bar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void percentBar(java.awt.Graphics2D g, int x, int y, int width, int height, int pWidth, int pHeight, int hBorder, int vBorder, java.awt.Color barC, java.awt.Color borderC, boolean topDown, boolean raised)
g
- graphic output.x
- location x.y
- location y.width
- box width.height
- box height.pWidth
- percent width.pHeight
- percent heighthBorder
- horizontal border.vBorder
- vertical border.barC
- percent bar color.borderC
- border color.topDown
- true will start from top to downraised
- raised effect.public static void bar(java.awt.Graphics2D g, int x, int y, int width, int height, boolean raised)
g
- graphic output.x
- location x.y
- location y.width
- box width.height
- box height.raised
- raised effect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |