Class Type6ShadingContext
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.Type6ShadingContext
- All Implemented Interfaces:
PaintContext
AWT PaintContext for coons patch meshes (type 6) shading. This was done as
part of GSoC2014, Tilman Hausherr is the mentor.
-
Constructor Summary
ConstructorsConstructorDescriptionType6ShadingContext
(PDShadingType6 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
-
Type6ShadingContext
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
- 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
-