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

pack-priv Class Type4ShadingContext

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 Mesh (Type 4) shading.
Authors
Tilman Hausherr, Shaola Ren

Field Summary

Modifier and TypeField and Description
private final int
private static final Log

Constructor Summary

AccessConstructor and Description
pack-priv
Type4ShadingContext(PDShadingType4
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

bitsPerFlagback to summary
private final int bitsPerFlag
LOGback to summary
private static final Log LOG

Constructor Detail

Type4ShadingContextback to summary
pack-priv Type4ShadingContext(PDShadingType4 shading, ColorModel cm, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) throws IOException

Constructor creates an instance to be used for fill operations.

Parameters
shading:PDShadingType4

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