Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.graphics.shading

pack-priv Class Type5ShadingContext

extends GouraudShadingContext
Class Inheritance
Imports
java.awt.Rectangle, java.awt.geom.AffineTransform, java.awt.image.ColorModel, java.io.IOException, org.apache.commons.logging.Log, .LogFactory, org.apache.pdfbox.util.Matrix

AWT PaintContext for Gouraud Triangle Lattice (Type 5) shading.
Authors
Tilman Hausherr, Shaola Ren

Field Summary

Modifier and TypeField and Description
private static final Log

Constructor Summary

AccessConstructor and Description
pack-priv
Type5ShadingContext(PDShadingType5
the shading type to be used
shading
,
ColorModel
the color model to be used
cm
,
AffineTransform
transformation for user to device space
xform
,
Matrix
the pattern matrix concatenated with that of the parent content stream
matrix
,
Rectangle deviceBounds)

Constructor creates an instance to be used for fill operations.

Method Summary

Inherited from org.apache.pdfbox.pdmodel.graphics.shading.GouraudShadingContext:
calcPixelTablecalcPixelTableArraydisposeisDataEmptysetTriangleList

Field Detail

LOGback to summary
private static final Log LOG

Constructor Detail

Type5ShadingContextback to summary
pack-priv Type5ShadingContext(PDShadingType5 shading, ColorModel cm, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) throws IOException

Constructor creates an instance to be used for fill operations.

Parameters
shading:PDShadingType5

the shading type to be used

cm:ColorModel

the color model to be used

xform:AffineTransform

transformation for user to device space

matrix:Matrix

the pattern matrix concatenated with that of the parent content stream

Exceptions
IOException:
if something went wrong