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

pack-priv Class Type6ShadingContext

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 coons patch meshes (type 6) shading. This was done as part of GSoC2014, Tilman Hausherr is the mentor.
Author
Shaola Ren

Constructor Summary

AccessConstructor and Description
pack-priv
Type6ShadingContext(PDShadingType6
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

Type6ShadingContextback to summary
pack-priv Type6ShadingContext(PDShadingType6 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) throws IOException

Constructor creates an instance to be used for fill operations.

Parameters
shading:PDShadingType6

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