org.ujmp.gui.util
Class GraphicsUtil
java.lang.Object
org.ujmp.gui.util.GraphicsUtil
public abstract class GraphicsUtil
- extends Object
Method Summary |
static void |
centerOnScreen(Window w)
|
static void |
drawString(Graphics2D g2d,
double xPos,
double yPos,
int xAlign,
int yAlign,
String s)
|
static void |
drawString(Graphics2D g2d,
double xPos,
double yPos,
int xAlign,
String s)
|
static void |
drawString(Graphics2D g2d,
double xPos,
double yPos,
String s)
|
static void |
drawString(Graphics2D g2d,
int xPos,
int yPos,
String s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALIGNCENTER
public static final int ALIGNCENTER
- See Also:
- Constant Field Values
ALIGNLEFT
public static final int ALIGNLEFT
- See Also:
- Constant Field Values
ALIGNRIGHT
public static final int ALIGNRIGHT
- See Also:
- Constant Field Values
ALIGNBOTTOM
public static final int ALIGNBOTTOM
- See Also:
- Constant Field Values
ALIGNTOP
public static final int ALIGNTOP
- See Also:
- Constant Field Values
DASHPATTERN10
public static final float[] DASHPATTERN10
DASHPATTERN01
public static final float[] DASHPATTERN01
DASHEDSTROKE
public static final Stroke DASHEDSTROKE
GraphicsUtil
public GraphicsUtil()
drawString
public static final void drawString(Graphics2D g2d,
double xPos,
double yPos,
int xAlign,
int yAlign,
String s)
centerOnScreen
public static final void centerOnScreen(Window w)
drawString
public static final void drawString(Graphics2D g2d,
double xPos,
double yPos,
int xAlign,
String s)
drawString
public static final void drawString(Graphics2D g2d,
double xPos,
double yPos,
String s)
drawString
public static final void drawString(Graphics2D g2d,
int xPos,
int yPos,
String s)
Copyright © 2010. All Rights Reserved.