Class Type7ShadingContext
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.ShadingContext
org.apache.pdfbox.pdmodel.graphics.shading.TriangleBasedShadingContext
org.apache.pdfbox.pdmodel.graphics.shading.PatchMeshesShadingContext
org.apache.pdfbox.pdmodel.graphics.shading.Type7ShadingContext
- All Implemented Interfaces:
PaintContext
AWT PaintContext for tensor-product patch meshes (type 7) shading. This was
done as part of GSoC2014, Tilman Hausherr is the mentor.
-
Constructor Summary
ConstructorsConstructorDescriptionType7ShadingContext
(PDShadingType7 shading, ColorModel colorModel, AffineTransform xform, Matrix matrix, Rectangle deviceBounds) Constructor creates an instance to be used for fill operations. -
Method Summary
Methods inherited from class org.apache.pdfbox.pdmodel.graphics.shading.PatchMeshesShadingContext
calcPixelTable, dispose, isDataEmpty
Methods inherited from class org.apache.pdfbox.pdmodel.graphics.shading.TriangleBasedShadingContext
calcPixelTable, createPixelTable, getColorModel, getRaster
Methods inherited from class org.apache.pdfbox.pdmodel.graphics.shading.ShadingContext
convertToRGB, getBackground, getRgbBackground, getShading, getShadingColorSpace
-
Constructor Details
-
Type7ShadingContext
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
- the shading type to be usedcolorModel
- the color model to be usedxform
- transformation for user to device spacematrix
- the pattern matrix concatenated with that of the parent content streamdeviceBounds
- device bounds- Throws:
IOException
- if something went wrong
-