class Type4ShadingContext extends GouraudShadingContext
Modifier and Type | Field and Description |
---|---|
private int |
bitsPerFlag |
private static org.apache.commons.logging.Log |
LOG |
bitsPerColorComponent, bitsPerCoordinate, numberOfColorComponents
Constructor and Description |
---|
Type4ShadingContext(PDShadingType4 shading,
java.awt.image.ColorModel cm,
java.awt.geom.AffineTransform xform,
Matrix matrix,
java.awt.Rectangle deviceBounds)
Constructor creates an instance to be used for fill operations.
|
Modifier and Type | Method and Description |
---|---|
private java.util.List<ShadedTriangle> |
collectTriangles(PDShadingType4 freeTriangleShadingType,
java.awt.geom.AffineTransform xform,
Matrix matrix) |
calcPixelTable, dispose, isDataEmpty, readVertex, setTriangleList
calcPixelTable, createPixelTable, getColorModel, getRaster
convertToRGB, getBackground, getRgbBackground, getShading, getShadingColorSpace
private static final org.apache.commons.logging.Log LOG
private final int bitsPerFlag
Type4ShadingContext(PDShadingType4 shading, java.awt.image.ColorModel cm, java.awt.geom.AffineTransform xform, Matrix matrix, java.awt.Rectangle deviceBounds) throws java.io.IOException
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 streamjava.io.IOException
private java.util.List<ShadedTriangle> collectTriangles(PDShadingType4 freeTriangleShadingType, java.awt.geom.AffineTransform xform, Matrix matrix) throws java.io.IOException
java.io.IOException