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 void
drawBasicShadowString(Graphics g, String string, int x, int y, Color fg, Color bg)
static void
drawBoldedString(Graphics g, String string, int x, int y)
static void
drawBoldedString(Graphics g, String string, int x, int y, int xOffset, int yOffset)
static void
drawBoldedString(Graphics g, String string, int x, int y, Color color)
static void
drawBoldedString(Graphics g, String string, int x, int y, Color color, int xOffset, int yOffset)
static void
drawBoldedString(Graphics g, String string, int x, int y, Color fg, Color bg)
static void
drawBorderedRectangle(Graphics g, int x, int y, int width, int height)
static void
drawBorderedRectangle(Graphics g, int x, int y, int width, int height, Color bg)
static void
drawBorderedRectangle(Graphics g, int x, int y, int width, int height, Color fg, Color bg)
static void
drawBorderedRectangle(Graphics g, Rectangle rect)
static void
drawBorderedRectangle(Graphics g, Rectangle rect, Color color)
static void
drawShadowString(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)
-
-