Interface Drawable

All Known Implementing Classes:
Box, CheckBox, CompositeTextLine, Form, Image, Line, Path, PlainText, Point, QRCode, RadioButton, TextBox, TextLine

public interface Drawable
Interface that is required for components that can be drawn on a PDF page as part of Optional Content Group.
  • Method Summary

    Modifier and Type
    Method
    Description
    float[]
    drawOn(Page page)
    Draw the component implementing this interface on the PDF page.
  • Method Details

    • drawOn

      float[] drawOn(Page page) throws Exception
      Draw the component implementing this interface on the PDF page.
      Parameters:
      page - the page to draw on.
      Returns:
      x and y coordinates of the bottom right corner of this component.
      Throws:
      Exception