public class Draw extends Object
| Constructor and Description |
|---|
Draw() |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawCentredText(Graphics g,
String s,
int x,
int y) |
static void |
drawImageTiled(Graphics g,
int x,
int y,
int w,
int h,
BufferedImage image) |
static void |
drawImageWithBorder(Graphics g,
int x,
int y,
int w,
int h,
BufferedImage image,
int bs,
boolean drawCentre) |
static void |
drawOutlineRect(Graphics g,
int x,
int y,
int w,
int h) |
static void |
drawText(Graphics g,
int x,
int y,
int w,
int h,
String string) |
static AttributedCharacterIterator |
getAttributedIterator(AttributedString attributedString) |
static AttributedCharacterIterator |
getAttributedIterator(String string) |
static AttributedString |
getAttributedString(String s) |
public static final Font MONO_FONT
public static void drawImageWithBorder(Graphics g, int x, int y, int w, int h, BufferedImage image, int bs, boolean drawCentre)
public static void drawImageTiled(Graphics g, int x, int y, int w, int h, BufferedImage image)
public static void drawOutlineRect(Graphics g, int x, int y, int w, int h)
public static final AttributedString getAttributedString(String s)
public static AttributedCharacterIterator getAttributedIterator(String string)
public static AttributedCharacterIterator getAttributedIterator(AttributedString attributedString)
Copyright © 2013. All Rights Reserved.