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

pack-priv Class Type7ShadingContext

extends PatchMeshesShadingContext
Class Inheritance
Imports
java.awt.Rectangle, java.awt.geom.AffineTransform, java.awt.image.ColorModel, java.io.IOException, org.apache.pdfbox.util.Matrix

AWT PaintContext for tensor-product patch meshes (type 7) shading. This was done as part of GSoC2014, Tilman Hausherr is the mentor.
Author
Shaola Ren

Constructor Summary

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

Constructor creates an instance to be used for fill operations.

Method Summary

Inherited from org.apache.pdfbox.pdmodel.graphics.shading.PatchMeshesShadingContext:
calcPixelTablecalcPixelTableArraydisposeisDataEmpty

Constructor Detail

Type7ShadingContextback to summary
pack-priv Type7ShadingContext(PDShadingType7 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) throws IOException

Constructor creates an instance to be used for fill operations.

Parameters
shading:PDShadingType7

the shading type to be used

colorModel: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

deviceBounds:Rectangle

device bounds

Exceptions
IOException:
if something went wrong