java.awt.PaintContext
public class RadialShadingContext extends ShadingContext implements java.awt.PaintContext
bboxRect, colorSpace, deviceBounds, maxBBoxX, maxBBoxY, minBBoxX, minBBoxY, outputColorModel, shading, shadingColorSpace, shadingTinttransform
Constructor | 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 | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToRGB, getShadingTintTransform
public 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.IOException
public void dispose()
dispose
in interface java.awt.PaintContext
public java.awt.image.ColorModel getColorModel()
getColorModel
in interface java.awt.PaintContext
public java.awt.image.Raster getRaster(int x, int y, int w, int h)
getRaster
in interface java.awt.PaintContext
public float[] getCoords()
public float[] getDomain()
public boolean[] getExtend()
public PDFunction getFunction() throws java.io.IOException
java.io.IOException
- if something goes wrong