Uses of Class org.apache.fop.pdf.PDFResources (Apache FOP Core 2.11 API)
Date: 2025-04-24

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

- Packages that use PDFResources
  Package | Description
  --- | ---
  org.apache.fop.pdf | Classes for handling the low-level creation of PDF documents.

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

    Fields in org.apache.fop.pdf declared as PDFResources
    Modifier and Type | Field and Description
    --- | ---
    `protected PDFResources` | PDFPattern.`resources` The resources associated with this pattern

    Methods in org.apache.fop.pdf that return PDFResources
    Modifier and Type | Method and Description
    --- | ---
    `PDFResources` | PDFResources.`getParentResources()`
    `PDFResources` | PDFResourceContext.`getPDFResources()` Get the resources for this resource context.
    `PDFResources` | PDFDocument.`getResources()` Get the /Resources object for the document
    `PDFResources` | PDFFactory.`makeResources()` Make a /Resources object.

    Methods in org.apache.fop.pdf with parameters of type PDFResources
    Modifier and Type | Method and Description
    --- | ---
    `PDFPage` | PDFFactory.`makePage(PDFResources resources, int pageWidth, int pageHeight)` Make a /Page object.
    `PDFPage` | PDFFactory.`makePage(PDFResources resources, int pageWidth, int pageHeight, int pageIndex)` Make a /Page object.
    `PDFPage` | PDFFactory.`makePage(PDFResources resources, int pageIndex, Rectangle2D mediaBox, Rectangle2D cropBox, Rectangle2D bleedBox, Rectangle2D trimBox)` Make a /Page object.
    `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
    `void` | PDFResources.`setParentResources(PDFResources p)`

    Constructors in org.apache.fop.pdf with parameters of type PDFResources
    Constructor and Description
    `PDFColorHandler(PDFResources resources, PDFResourceContext resourceContext)` Create a new instance for the given `PDFResources`
    `PDFPage(PDFResources resources, int pageIndex, Rectangle2D mediaBox, Rectangle2D cropBox, Rectangle2D bleedBox, Rectangle2D trimBox)` Create a /Page object
    `PDFPattern(PDFResources theResources, int thePatternType, int thePaintType, int theTilingType, List theBBox, double theXStep, double theYStep, List theMatrix, List theXUID, StringBuffer thePatternDataStream)` Create a tiling pattern (type 1).
    `PDFResourceContext(PDFResources resources)` Creates a new ResourceContext.

Copyright © 2025 Apache Software Foundation. All rights reserved.