org.formaria.util
Class GraphicUtils
java.lang.Object
org.formaria.util.GraphicUtils
public class GraphicUtils
- extends java.lang.Object
Description: A collection of utility functions
v
|
Method Summary |
static void |
draw3dObject(java.awt.Graphics g,
boolean focused,
int left,
int top,
int width,
int height,
java.awt.Color bkClr,
java.awt.Color shadowClr,
java.awt.Color frameClr,
java.awt.Color shadow3dClr,
java.awt.Color highlight3dClr)
Draws a 3d object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicUtils
public GraphicUtils()
draw3dObject
public static void draw3dObject(java.awt.Graphics g,
boolean focused,
int left,
int top,
int width,
int height,
java.awt.Color bkClr,
java.awt.Color shadowClr,
java.awt.Color frameClr,
java.awt.Color shadow3dClr,
java.awt.Color highlight3dClr)
- Draws a 3d object.
- Parameters:
g - the graphics contextfocused - true if the object is drawn in a pressed stateleft - the left coordinatetop - the top coordinatewidth - the widthheight - the heightbkClr - the background colorshadowClr - the shadow colorframeClr - the frame colorshadow3dClr - the 3d shadow colorhighlight3dClr - the 3d highlight