Package com.moebiusgames.pdfbox.table
Class PDFLabel
java.lang.Object
com.moebiusgames.pdfbox.table.PDFLabel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal PDFTableCellgetCell()voidrender(PDFRenderContext renderContext, float x) renders the label on the last page of the given render context directly under previously rendered elementsvoidrender(PDFRenderContext renderContext, float x, float y) renders the label on the last page of the given render contextvoidrender(PDFRenderContext renderContext, PDFPageWithStream page, float x, float y) renders the label on the given pagevoid
-
Constructor Details
-
PDFLabel
public PDFLabel(float width) -
PDFLabel
-
-
Method Details
-
setText
-
getCell
-
render
renders the label on the last page of the given render context directly under previously rendered elements- Parameters:
renderContext- the render contextx- x position to render the label at- Throws:
IOException
-
render
renders the label on the last page of the given render context- Parameters:
renderContext- the render contextx- x position to render the label aty- y position to render the label at- Throws:
IOException
-
render
public void render(PDFRenderContext renderContext, PDFPageWithStream page, float x, float y) throws IOException renders the label on the given page- Parameters:
renderContext- the render contextpage- the page to render the label onx- x position to render the label aty- y position to render the label at- Throws:
IOException
-