## Uses of Class
org.apache.pdfbox.pdmodel.graphics.shading.PDShading

Packages that use PDShading
org.apache.pdfbox.pdmodel: The PDModel package represents a high level API for creating and manipulating PDF documents.
org.apache.pdfbox.pdmodel.graphics.pattern: This package deals with patterns which are used instead of colors.
org.apache.pdfbox.pdmodel.graphics.shading: This package deals with shadings which are used for filling instead of a color.

### Uses of PDShading in org.apache.pdfbox.pdmodel

Methods in org.apache.pdfbox.pdmodel that return PDShading
`PDShading` PDResources.`getShading(COSName name)` Returns the shading resource with the given name, or null if none exists.
`PDShading` ResourceCache.`getShading(COSObject indirect)` Returns the shading resource for the given indirect object, if it is in the cache.
`PDShading` DefaultResourceCache.`getShading(COSObject indirect)`
`default PDShading` ResourceCache.`removeShading(COSObject indirect)` Removes the given indirect shading resource from the cache.
`PDShading` DefaultResourceCache.`removeShading(COSObject indirect)`

Methods in org.apache.pdfbox.pdmodel with parameters of type PDShading
`COSName` PDResources.`add(PDShading shading)` Adds the given shading to the resources of the current page and returns the name for the new resources.
`void` PDResources.`put(COSName name, PDShading shading)` Sets the shading resource with the given name.
`void` ResourceCache.`put(COSObject indirect, PDShading shading)` Puts the given indirect shading resource in the cache.
`void` DefaultResourceCache.`put(COSObject indirect, PDShading shading)`

### Uses of PDShading in org.apache.pdfbox.pdmodel.graphics.pattern

Methods in org.apache.pdfbox.pdmodel.graphics.pattern that return PDShading
`PDShading` PDShadingPattern.`getShading()` This will get the shading resources for this pattern.

Methods in org.apache.pdfbox.pdmodel.graphics.pattern with parameters of type PDShading
`void` PDShadingPattern.`setShading(PDShading shadingResources)` This will set the shading resources for this pattern.

### Uses of PDShading in org.apache.pdfbox.pdmodel.graphics.shading

Classes in org.apache.pdfbox.pdmodel.graphics.shading with type parameters of type PDShading
`class` `ShadingPaint<T extends PDShading>` This is base class for all PDShading-Paints to allow other low level libraries access to the shading source data.

Subclasses of PDShading in org.apache.pdfbox.pdmodel.graphics.shading
`class` `PDShadingType1` Resources for a function based shading.
`class` `PDShadingType2` Resources for an axial shading.
`class` `PDShadingType3` Resources for a radial shading.
`class` `PDShadingType4` Resources for a shading type 4 (Free-Form Gouraud-Shaded Triangle Mesh).
`class` `PDShadingType5` Resources for a shading type 5 (Lattice-Form Gouraud-Shade Triangle Mesh).
`class` `PDShadingType6` Resources for a shading type 6 (Coons Patch Mesh).
`class` `PDShadingType7` Resources for a shading type 7 (Tensor-Product Patch Mesh).

Fields in org.apache.pdfbox.pdmodel.graphics.shading declared as PDShading
`protected T` ShadingPaint.`shading`

Methods in org.apache.pdfbox.pdmodel.graphics.shading that return PDShading
`static PDShading` PDShading.`create(COSDictionary shadingDictionary)` Create the correct PD Model shading based on the COS base shading.

Constructors in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type PDShading
Constructor and Description
`ShadingContext(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix)` Constructor.