Class Type4ShadingContext
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.ShadingContext
org.apache.pdfbox.pdmodel.graphics.shading.TriangleBasedShadingContext
org.apache.pdfbox.pdmodel.graphics.shading.GouraudShadingContext
org.apache.pdfbox.pdmodel.graphics.shading.Type4ShadingContext
- All Implemented Interfaces:
PaintContext
AWT PaintContext for Gouraud Triangle Mesh (Type 4) shading.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final org.apache.commons.logging.Log -
Constructor Summary
ConstructorsConstructorDescriptionType4ShadingContext(PDShadingType4 shading, ColorModel cm, 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.GouraudShadingContext
calcPixelTable, dispose, isDataEmpty, setTriangleListMethods inherited from class org.apache.pdfbox.pdmodel.graphics.shading.TriangleBasedShadingContext
calcPixelTable, createPixelTable, getColorModel, getRasterMethods inherited from class org.apache.pdfbox.pdmodel.graphics.shading.ShadingContext
convertToRGB, getBackground, getRgbBackground, getShading, getShadingColorSpace
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
bitsPerFlag
private final int bitsPerFlag
-
-
Constructor Details
-
Type4ShadingContext
Type4ShadingContext(PDShadingType4 shading, ColorModel cm, 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 usedcm- the color model to be usedxform- transformation for user to device spacematrix- the pattern matrix concatenated with that of the parent content stream- Throws:
IOException
-