public class RadialShadingContext
extends java.lang.Object
implements java.awt.PaintContext
| Constructor and Description |
|---|
RadialShadingContext(PDShadingType3 shadingType3,
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() |
java.awt.image.ColorModel |
getColorModel() |
float[] |
getCoords()
Returns the coords values.
|
float[] |
getDomain()
Returns the domain values.
|
boolean[] |
getExtend()
Returns the extend values.
|
java.awt.image.Raster |
getRaster(int x,
int y,
int w,
int h) |
PDFunction |
getShadingTintTransform()
Returns the function used for the shading tint transformation.
|
public RadialShadingContext(PDShadingType3 shadingType3, java.awt.image.ColorModel colorModelValue, java.awt.geom.AffineTransform xform, Matrix ctm, int pageHeight)
shadingType3 - 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 pagepublic 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 getShadingTintTransform()