Class PdfPage
java.lang.Object
com.codename1.pdf.PdfPage
One page of a
PdfDocument, created by PdfDocument.addPage(PdfPageSize).
Draw on it through getCanvas(); add clickable areas with
addLink(float, float, float, float, String).-
Method Summary
Modifier and TypeMethodDescriptionMakes the rectangle(x, y, w, h)jump to the top oftarget, a page of the same document, when clicked.Makes the rectangle(x, y, w, h)openuriwhen clicked.The canvas that draws this page's content.floatThe height in points.intgetIndex()The zero-based position of this page in its document.floatgetWidth()The width in points.
-
Method Details
-
getWidth
public float getWidth()The width in points. -
getHeight
public float getHeight()The height in points. -
getIndex
public int getIndex()The zero-based position of this page in its document. -
getCanvas
The canvas that draws this page's content. -
addLink
-
addLink
-