## Uses of Class
org.apache.fop.pdf.PDFResourceContext

- Packages that use PDFResourceContext
  Package | Description
  --- | ---
  org.apache.fop.pdf | Classes for handling the low-level creation of PDF documents.
  org.apache.fop.render.pdf | PDF Renderer
  org.apache.fop.svg | Classes that add SVG support to FOP and SVG->PDF conversion for Batik.

- - ### Uses of PDFResourceContext in org.apache.fop.pdf

    Subclasses of PDFResourceContext in org.apache.fop.pdf
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PDFPage` Class representing a /Page object.

    Fields in org.apache.fop.pdf with type parameters of type PDFResourceContext
    Modifier and Type | Field and Description
    --- | ---
    `protected Set<PDFResourceContext>` | PDFResources.`contexts`

    Methods in org.apache.fop.pdf with parameters of type PDFResourceContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | PDFResources.`addContext(PDFResourceContext c)`
    `PDFFormXObject` | PDFDocument.`addFormXObject(PDFResourceContext res, PDFStream cont, PDFReference formres, String key)` Add a form XObject to the PDF document.
    `PDFImageXObject` | PDFDocument.`addImage(PDFResourceContext res, PDFImage img)` Add an image to the PDF document.
    `PDFICCBasedColorSpace` | PDFFactory.`makeICCBasedColorSpace(PDFResourceContext res, String explicitName, PDFICCStream iccStream)` Makes a new ICCBased color space and registers it in the resource context.
    `PDFPattern` | PDFFactory.`makePattern(PDFResourceContext res, int thePatternType, PDFResources theResources, int thePaintType, int theTilingType, List theBBox, double theXStep, double theYStep, List theMatrix, List theXUID, StringBuffer thePatternDataStream)` Make a tiling pattern
    `PDFSeparationColorSpace` | PDFFactory.`makeSeparationColorSpace(PDFResourceContext res, org.apache.xmlgraphics.java2d.color.NamedColorSpace ncs)` Create a new Separation color space.
    `PDFPattern` | PDFFactory.`registerPattern(PDFResourceContext res, PDFPattern pattern)`
    `PDFShading` | PDFFactory.`registerShading(PDFResourceContext res, PDFShading shading)` Registers a shading object against the document

    Constructors in org.apache.fop.pdf with parameters of type PDFResourceContext
    Constructor and Description
    `PDFColorHandler(PDFResources resources, PDFResourceContext resourceContext)` Create a new instance for the given `PDFResources`

  - ### Uses of PDFResourceContext in org.apache.fop.render.pdf

    Fields in org.apache.fop.render.pdf declared as PDFResourceContext
    Modifier and Type | Field and Description
    --- | ---
    `PDFResourceContext` | PDFSVGHandler.PDFInfo.`pdfContext` see PDF_CONTEXT

    Methods in org.apache.fop.render.pdf that return PDFResourceContext
    Modifier and Type | Method and Description
    --- | ---
    `PDFResourceContext` | PDFContentGenerator.`getResourceContext()` Returns the applicable resource context for the generator.

    Constructors in org.apache.fop.render.pdf with parameters of type PDFResourceContext
    Constructor and Description
    `PDFContentGenerator(PDFDocument document, OutputStream out, PDFResourceContext resourceContext)` Main constructor.
    `PDFContentGenerator(PDFDocument document, OutputStream out, PDFResourceContext resourceContext, IFContext context)`

  - ### Uses of PDFResourceContext in org.apache.fop.svg

    Fields in org.apache.fop.svg declared as PDFResourceContext
    Modifier and Type | Field and Description
    --- | ---
    `protected PDFResourceContext` | PDFGraphics2D.`resourceContext` The current resource context for adding fonts, patterns etc.

    Constructors in org.apache.fop.svg with parameters of type PDFResourceContext
    Constructor and Description
    `PDFGraphics2D(boolean textAsShapes, FontInfo fi, PDFDocument doc, PDFResourceContext page, PDFReference pref, String font, float size, PDFGraphics2D.TransparencyIgnoredEventListener listener)` Create a new PDFGraphics2D with the given pdf document info.

Copyright © 2023 Apache Software Foundation. All rights reserved.