class Type5ShadingContext extends GouraudShadingContext
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
bitsPerColorComponent, bitsPerCoordinate, numberOfColorComponents
Constructor and Description |
---|
Type5ShadingContext(PDShadingType5 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(PDShadingType5 latticeTriangleShadingType,
java.awt.geom.AffineTransform xform,
Matrix matrix) |
calcPixelTable, dispose, isDataEmpty, readVertex, setTriangleList
calcPixelTable, createPixelTable, getColorModel, getRaster
convertToRGB, getBackground, getRgbBackground, getShading, getShadingColorSpace
Type5ShadingContext(PDShadingType5 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
- if something went wrongprivate java.util.List<ShadedTriangle> collectTriangles(PDShadingType5 latticeTriangleShadingType, java.awt.geom.AffineTransform xform, Matrix matrix) throws java.io.IOException
java.io.IOException