Uses of Class
org.apache.pdfbox.pdmodel.graphics.shading.PDShading
Packages that use PDShading
Package
Description
The PDModel package represents a high level API for creating and manipulating PDF documents.
This package deals with patterns which are used instead of colors.
This package deals with shadings which are used for filling instead of a color.
-
Uses of PDShading in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel with type parameters of type PDShadingModifier and TypeFieldDescriptionprivate final Map<COSObject,
SoftReference<PDShading>> DefaultResourceCache.shadings
Methods in org.apache.pdfbox.pdmodel that return PDShadingModifier and TypeMethodDescriptionDefaultResourceCache.getShading
(COSObject indirect) PDResources.getShading
(COSName name) Returns the shading resource with the given name, or null if none exists.ResourceCache.getShading
(COSObject indirect) Returns the shading resource for the given indirect object, if it is in the cache.Methods in org.apache.pdfbox.pdmodel with parameters of type PDShadingModifier and TypeMethodDescriptionAdds the given shading to the resources of the current page and returns the name for the new resources.void
void
Sets the shading resource with the given name.void
Puts the given indirect shading resource in the cache.void
PDAbstractContentStream.shadingFill
(PDShading shading) Fills the clipping area with the given shading.void
PDPageContentStream.shadingFill
(PDShading shading) Fills the clipping area with the given shading. -
Uses of PDShading in org.apache.pdfbox.pdmodel.graphics.pattern
Fields in org.apache.pdfbox.pdmodel.graphics.pattern declared as PDShadingMethods in org.apache.pdfbox.pdmodel.graphics.pattern that return PDShadingModifier and TypeMethodDescriptionPDShadingPattern.getShading()
This will get the shading resources for this pattern.Methods in org.apache.pdfbox.pdmodel.graphics.pattern with parameters of type PDShadingModifier and TypeMethodDescriptionvoid
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 PDShadingModifier and TypeClassDescriptionclass
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.shadingModifier and TypeClassDescription(package private) class
Common resources for shading types 6 and 7class
Resources for a function based shading.class
Resources for an axial shading.class
Resources for a radial shading.class
Resources for a shading type 4 (Free-Form Gouraud-Shaded Triangle Mesh).class
Resources for a shading type 5 (Lattice-Form Gouraud-Shade Triangle Mesh).class
Resources for a shading type 6 (Coons Patch Mesh).class
Resources for a shading type 7 (Tensor-Product Patch Mesh).(package private) class
Common resources for shading types 4,5,6 and 7Fields in org.apache.pdfbox.pdmodel.graphics.shading declared as PDShadingModifier and TypeFieldDescriptionprivate final PDShading
ShadingContext.shading
protected final T
ShadingPaint.shading
Methods in org.apache.pdfbox.pdmodel.graphics.shading that return PDShadingModifier and TypeMethodDescriptionstatic PDShading
PDShading.create
(COSDictionary shadingDictionary) Create the correct PD Model shading based on the COS base shading.(package private) PDShading
ShadingContext.getShading()
Constructors in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type PDShadingModifierConstructorDescriptionprotected
GouraudShadingContext
(PDShading shading, ColorModel colorModel, AffineTransform xform, Matrix matrix) Constructor creates an instance to be used for fill operations.ShadingContext
(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix) Constructor.(package private)
TriangleBasedShadingContext
(PDShading shading, ColorModel cm, AffineTransform xform, Matrix matrix) Constructor. -
Uses of PDShading in org.apache.pdfbox.preflight.process.reflect
Methods in org.apache.pdfbox.preflight.process.reflect with parameters of type PDShadingModifier and TypeMethodDescriptionprotected void
ShadingPatternValidationProcess.checkColorSpace
(PreflightContext context, PDPage page, PDShading shadingRes) Checks if the ColorSapce entry is consistent which rules of the PDF Reference and the ISO 190005-1:2005 Specification.protected void
ShadingPatternValidationProcess.checkGraphicState
(PreflightContext context, PDPage page, PDShading shadingRes) Check the Extended Graphic State contains in the ShadingPattern dictionary if it is present.