Package gov.nih.mipav.model.algorithms
Interface ContourPlot.PDFRenderer
-
- All Known Subinterfaces:
ContourPlot.Renderer
- All Known Implementing Classes:
ContourPlot.CompleteRenderer
,ContourPlot.CoordSysRenderer
,ContourPlot.GenericRenderer
,ContourPlot.Legend
,ContourPlot.LinesRenderer
,ContourPlot.TextRenderer
,ContourPlot.TrianglesRenderer
- Enclosing class:
- ContourPlot
public static interface ContourPlot.PDFRenderer
The PDFRenderer interface defines the methodrenderPDF(PDDocument, PDPage, int, int, int, int)
which 'renders' the PDFRenderers's content as pdf objects in content streams, i.e. fills content streams with elements and appends them to the specified page.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
renderPDF(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, int x, int y, int w, int h)
Renders this PDFRenderers contents, that is creating pdf elements and appending them to the specified page within the corresponding document.
-
-
-
Method Detail
-
renderPDF
default void renderPDF(org.apache.pdfbox.pdmodel.PDDocument doc, org.apache.pdfbox.pdmodel.PDPage page, int x, int y, int w, int h)
Renders this PDFRenderers contents, that is creating pdf elements and appending them to the specified page within the corresponding document.- Parameters:
doc
- the PDF document holding the pagepage
- page in pdf doc to which elements are to be appendedx
- x coordinate of the current viewporty
- y coordinate of the current viewportw
- width of the current viewporth
- height of the current viewport
-
-