Package com.io7m.jptbox.core
Interface JPTextBoxDrawingType
- All Known Implementing Classes:
JPTextBoxDrawing
public interface JPTextBoxDrawingType
A box drawing interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddrawBox(JPTextImageType image, int base_x, int base_y, int width, int height) Draw a box.voiddrawBoxSilent(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.
-
Method Details
-
drawBox
Draw a box.- Parameters:
image- 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 box
-
drawBoxSilent
Draw a box without raising any exceptions if any part of the box is outside of the image.- Parameters:
image- 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 box
-