public class AxialShadingContext extends Object implements PaintContext
Constructor and Description |
---|
AxialShadingContext(PDShadingType2 shadingType2,
ColorModel colorModelValue,
AffineTransform xform,
Matrix ctm,
int pageHeight)
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.
|
Raster |
getRaster(int x,
int y,
int w,
int h) |
PDFunction |
getShadingTintTransform()
Returns the function used for the shading tint transformation.
|
public AxialShadingContext(PDShadingType2 shadingType2, ColorModel colorModelValue, AffineTransform xform, Matrix ctm, int pageHeight)
shadingType2
- 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 PaintContext
public ColorModel getColorModel()
getColorModel
in interface PaintContext
public Raster getRaster(int x, int y, int w, int h)
getRaster
in interface PaintContext
public float[] getCoords()
public float[] getDomain()
public boolean[] getExtend()
public PDFunction getShadingTintTransform()
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.