org.apache.pdfbox.pdmodel.graphics.shading
Class AxialShadingContext
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingContext
- All Implemented Interfaces:
- java.awt.PaintContext
public class AxialShadingContext
- extends java.lang.Object
- implements java.awt.PaintContext
This class represents the PaintContext of an axial shading.
- Version:
- $Revision: $
- Author:
- lehmi
|
Constructor Summary |
AxialShadingContext(PDShadingType2 shadingType2,
java.awt.image.ColorModel colorModelValue,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight)
Constructor creates an instance to be used for fill operations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxialShadingContext
public AxialShadingContext(PDShadingType2 shadingType2,
java.awt.image.ColorModel colorModelValue,
java.awt.geom.AffineTransform xform,
Matrix ctm,
int pageHeight)
- Constructor creates an instance to be used for fill operations.
- Parameters:
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 page
dispose
public void dispose()
-
- Specified by:
dispose in interface java.awt.PaintContext
getColorModel
public java.awt.image.ColorModel getColorModel()
-
- Specified by:
getColorModel in interface java.awt.PaintContext
getRaster
public java.awt.image.Raster getRaster(int x,
int y,
int w,
int h)
-
- Specified by:
getRaster in interface java.awt.PaintContext