Package org.rspeer.commons
Class AWTUtil
- java.lang.Object
-
- org.rspeer.commons.AWTUtil
-
public class AWTUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description AWTUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddrawBasicShadowString(Graphics g, String string, int x, int y, Color fg, Color bg)static voiddrawBoldedString(Graphics g, String string, int x, int y)static voiddrawBoldedString(Graphics g, String string, int x, int y, int xOffset, int yOffset)static voiddrawBoldedString(Graphics g, String string, int x, int y, Color color)static voiddrawBoldedString(Graphics g, String string, int x, int y, Color color, int xOffset, int yOffset)static voiddrawBoldedString(Graphics g, String string, int x, int y, Color fg, Color bg)static voiddrawBorderedRectangle(Graphics g, int x, int y, int width, int height)static voiddrawBorderedRectangle(Graphics g, int x, int y, int width, int height, Color bg)static voiddrawBorderedRectangle(Graphics g, int x, int y, int width, int height, Color fg, Color bg)static voiddrawBorderedRectangle(Graphics g, Rectangle rect)static voiddrawBorderedRectangle(Graphics g, Rectangle rect, Color color)static voiddrawShadowString(Graphics g, String string, int x, int y, Color fg, Color bg, int flags, int xOffset, int yOffset)
-
-
-
Field Detail
-
NORTH
public static final byte NORTH
- See Also:
- Constant Field Values
-
SOUTH
public static final byte SOUTH
- See Also:
- Constant Field Values
-
EAST
public static final byte EAST
- See Also:
- Constant Field Values
-
WEST
public static final byte WEST
- See Also:
- Constant Field Values
-
-
Method Detail
-
drawBorderedRectangle
public static void drawBorderedRectangle(Graphics g, int x, int y, int width, int height, Color fg, Color bg)
-
drawBorderedRectangle
public static void drawBorderedRectangle(Graphics g, int x, int y, int width, int height, Color bg)
-
drawBorderedRectangle
public static void drawBorderedRectangle(Graphics g, Rectangle rect, Color color)
-
drawBorderedRectangle
public static void drawBorderedRectangle(Graphics g, int x, int y, int width, int height)
-
drawBasicShadowString
public static void drawBasicShadowString(Graphics g, String string, int x, int y, Color fg, Color bg)
-
drawShadowString
public static void drawShadowString(Graphics g, String string, int x, int y, Color fg, Color bg, int flags, int xOffset, int yOffset)
-
drawBoldedString
public static void drawBoldedString(Graphics g, String string, int x, int y, Color fg, Color bg)
-
drawBoldedString
public static void drawBoldedString(Graphics g, String string, int x, int y, Color color)
-
drawBoldedString
public static void drawBoldedString(Graphics g, String string, int x, int y, Color color, int xOffset, int yOffset)
-
-