public class RadialShadingContext extends ShadingContext implements PaintContext
bboxRect, colorSpace, deviceBounds, maxBBoxX, maxBBoxY, minBBoxX, minBBoxY, outputColorModel, shading, shadingColorSpace, shadingTinttransform| Constructor and Description | 
|---|
| RadialShadingContext(PDShadingType3 shading,
                    ColorModel colorModel,
                    AffineTransform xform,
                    Matrix ctm,
                    int pageHeight,
                    Rectangle dBounds)Constructor creates an instance to be used for fill operations. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispose() | 
| 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. | 
| Raster | getRaster(int x,
         int y,
         int w,
         int h) | 
convertToRGB, getShadingTintTransformpublic RadialShadingContext(PDShadingType3 shading, ColorModel colorModel, AffineTransform xform, Matrix ctm, int pageHeight, Rectangle dBounds) throws 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 pageIOExceptionpublic void dispose()
dispose in interface PaintContextpublic ColorModel getColorModel()
getColorModel in interface PaintContextpublic Raster getRaster(int x, int y, int w, int h)
getRaster in interface PaintContextpublic float[] getCoords()
public float[] getDomain()
public boolean[] getExtend()
public PDFunction getFunction() throws IOException
IOException - if something goes wrongCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.