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

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

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

    Fields in org.apache.fop.pdf declared as PDFShading
    Modifier and Type | Field and Description
    --- | ---
    `protected PDFShading` | PDFPattern.`shading` The Shading object comprising the Type 2 pattern

    Methods in org.apache.fop.pdf that return PDFShading
    Modifier and Type | Method and Description
    --- | ---
    `protected PDFShading` | PDFDocument.`findShading(PDFShading compare)` Looks through the registered shadings to see if one that is equal to a reference object exists
    `PDFShading` | PDFFactory.`registerShading(PDFResourceContext res, PDFShading shading)` Registers a shading object against the document

    Methods in org.apache.fop.pdf that return types with arguments of type PDFShading
    Modifier and Type | Method and Description
    --- | ---
    `Set<PDFShading>` | PDFResourceContext.`getShadings()`

    Methods in org.apache.fop.pdf with parameters of type PDFShading
    Modifier and Type | Method and Description
    --- | ---
    `void` | PDFResourceContext.`addShading(PDFShading shading)` Add the shading to the current resource context.
    `protected PDFShading` | PDFDocument.`findShading(PDFShading compare)` Looks through the registered shadings to see if one that is equal to a reference object exists
    `PDFShading` | PDFFactory.`registerShading(PDFResourceContext res, PDFShading shading)` Registers a shading object against the document

    Constructors in org.apache.fop.pdf with parameters of type PDFShading
    Constructor and Description
    `PDFPattern(int thePatternType, PDFShading shading, List theXUID, StringBuffer theExtGState, List theMatrix)` Create a type 2 pattern (smooth shading)

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

    Methods in org.apache.fop.svg that return PDFShading
    Modifier and Type | Method and Description
    --- | ---
    `PDFShading` | PDFGraphics2D.`registerShading(PDFShading shading)` Registers a shading object against the otuput format document

    Methods in org.apache.fop.svg with parameters of type PDFShading
    Modifier and Type | Method and Description
    --- | ---
    `PDFShading` | PDFGraphics2D.`registerShading(PDFShading shading)` Registers a shading object against the otuput format document

Copyright © 2023 Apache Software Foundation. All rights reserved.