Interface JPTextBoxDrawingType

All Known Implementing Classes:
JPTextBoxDrawing

public interface JPTextBoxDrawingType
A box drawing interface.
  • Method Summary

    Modifier and Type
    Method
    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.
  • Method Details

    • drawBox

      void drawBox(JPTextImageType image, int base_x, int base_y, int width, int height)
      Draw a box.
      Parameters:
      image - The target image
      base_x - The X value of the top left corner
      base_y - The Y value of the top left corner
      width - The width of the box
      height - The height of the box
    • drawBoxSilent

      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.
      Parameters:
      image - The target image
      base_x - The X value of the top left corner
      base_y - The Y value of the top left corner
      width - The width of the box
      height - The height of the box