public class Type5ShadingContext extends GouraudShadingContext
background, bitsPerColorComponent, bitsPerCoordinate, numberOfColorComponents, triangleList| Constructor and Description |
|---|
Type5ShadingContext(PDShadingType5 shadingType5,
java.awt.image.ColorModel colorModelValue,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight)
Constructor creates an instance to be used for fill operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
getColorModel, getRaster, readVertex, transformVerticespublic Type5ShadingContext(PDShadingType5 shadingType5, java.awt.image.ColorModel colorModelValue, java.awt.geom.AffineTransform xform, Matrix ctm, int pageHeight) throws java.io.IOException
shadingType5 - the shading type to be usedcolorModelValue - the color model to be usedxform - transformation for user to device spacectm - current transformation matrixpageHeight - height of the current pagejava.io.IOException - if something went wrongpublic void dispose()
dispose in interface java.awt.PaintContextdispose in class GouraudShadingContext