public class RadialShadingContext extends ShadingContext implements java.awt.PaintContext
bboxRect, colorSpace, deviceBounds, maxBBoxX, maxBBoxY, minBBoxX, minBBoxY, outputColorModel, shading, shadingColorSpace, shadingTinttransform| Constructor and Description |
|---|
RadialShadingContext(PDShadingType3 shading,
java.awt.image.ColorModel colorModel,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight,
java.awt.Rectangle dBounds)
Constructor creates an instance to be used for fill operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
java.awt.image.ColorModel |
getColorModel() |
float[] |
getCoords()
Returns the coords values.
|
float[] |
getDomain()
Returns the domain values.
|
boolean[] |
getExtend()
Returns the extend values.
|
PDFunction |
getFunction()
Returns the function.
|
java.awt.image.Raster |
getRaster(int x,
int y,
int w,
int h) |
convertToRGB, getShadingTintTransformpublic RadialShadingContext(PDShadingType3 shading, java.awt.image.ColorModel colorModel, java.awt.geom.AffineTransform xform, Matrix ctm, int pageHeight, java.awt.Rectangle dBounds) throws java.io.IOException
shading - the shading type to be usedcolorModel - the color model to be usedxform - transformation for user to device spacectm - the transformation matrixdBounds - device boundspageHeight - height of the current pagejava.io.IOExceptionpublic void dispose()
dispose in interface java.awt.PaintContextpublic java.awt.image.ColorModel getColorModel()
getColorModel in interface java.awt.PaintContextpublic java.awt.image.Raster getRaster(int x,
int y,
int w,
int h)
getRaster in interface java.awt.PaintContextpublic float[] getCoords()
public float[] getDomain()
public boolean[] getExtend()
public PDFunction getFunction() throws java.io.IOException
java.io.IOException - if something goes wrong