public class PDFSVGHandler extends AbstractGenericSVGHandler implements PDFRendererContextConstants
| Modifier and Type | Class and Description |
|---|---|
static class |
PDFSVGHandler.PDFInfo
PDF information structure for drawing the XML document.
|
PDF_CONTEXT, PDF_DOCUMENT, PDF_FONT_INFO, PDF_FONT_NAME, PDF_FONT_SIZE, PDF_PAGE, PDF_STREAMFOREIGN_ATTRIBUTES, HANDLER_CONFIGURATION, HEIGHT, OUTPUT_STREAM, PAGE_VIEWPORT, WIDTH, XPOS, YPOSHANDLE_ALL| Constructor and Description |
|---|
PDFSVGHandler() |
| Modifier and Type | Method and Description |
|---|---|
static PDFSVGHandler.PDFInfo |
getPDFInfo(RendererContext context)
Get the pdf information from the render context.
|
boolean |
supportsRenderer(Renderer renderer)
Checks if this XMLHandler supports handling an XML namespace for a particular renderer.
|
buildGraphicsNode, createGraphics2DImagePainter, getDocumentURI, getImageSize, getNamespace, handleXML, renderSVGDocument, updateRendererContextpublic static PDFSVGHandler.PDFInfo getPDFInfo(RendererContext context)
context - the renderer contextpublic boolean supportsRenderer(Renderer renderer)
supportsRenderer in interface XMLHandlerrenderer - the renderer for which to check.Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.