public final class JPTextBoxDrawing extends Object implements JPTextBoxDrawingType
JPTextBoxDrawingType interface.| Modifier and Type | Method and Description |
|---|---|
void |
drawBox(JPTextImageType image,
int base_x,
int base_y,
int width,
int height)
Draw a box.
|
void |
drawBoxSilent(JPTextImageType image,
int base_x,
int base_y,
int width,
int height)
Draw a box without raising any exceptions if any part of the box is outside
of the image.
|
static JPTextBoxDrawingType |
get() |
public static JPTextBoxDrawingType get()
public void drawBox(JPTextImageType image, int base_x, int base_y, int width, int height)
JPTextBoxDrawingTypedrawBox in interface JPTextBoxDrawingTypeimage - The target imagebase_x - The X value of the top left cornerbase_y - The Y value of the top left cornerwidth - The width of the boxheight - The height of the boxpublic void drawBoxSilent(JPTextImageType image, int base_x, int base_y, int width, int height)
JPTextBoxDrawingTypedrawBoxSilent in interface JPTextBoxDrawingTypeimage - The target imagebase_x - The X value of the top left cornerbase_y - The Y value of the top left cornerwidth - The width of the boxheight - The height of the boxCopyright © 2016 <code@io7m.com> http://io7m.com