java.lang.Object
org.sejda.sambox.pdmodel.graphics.shading.ShadingContext
org.sejda.sambox.pdmodel.graphics.shading.TriangleBasedShadingContext
org.sejda.sambox.pdmodel.graphics.shading.PatchMeshesShadingContext
org.sejda.sambox.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.sejda.sambox.pdmodel.graphics.shading.PatchMeshesShadingContext
calcPixelTable, dispose, isDataEmptyMethods inherited from class org.sejda.sambox.pdmodel.graphics.shading.TriangleBasedShadingContext
calcPixelTable, createPixelTable, getColorModel, getRasterMethods inherited from class org.sejda.sambox.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
-