com.pdfjet
Interface Drawable

All Known Implementing Classes:
BarCode, BarCode2D, 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
 float[] drawOn(Page page)
          Draw the component implementing this interface on the PDF page.
 

Method Detail

drawOn

float[] drawOn(Page page)
               throws java.lang.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:
java.lang.Exception