org.apache.pdfbox.pdmodel.graphics.shading
Class AxialShadingContext
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingContext
- All Implemented Interfaces:
- PaintContext
public class AxialShadingContext
- extends Object
- implements PaintContext
This class represents the PaintContext of an axial shading.
- Version:
- $Revision: $
- Author:
- lehmi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxialShadingContext
public AxialShadingContext(PDShadingType2 shadingType2,
ColorModel colorModelValue,
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 PaintContext
getColorModel
public ColorModel getColorModel()
-
- Specified by:
getColorModel in interface PaintContext
getRaster
public Raster getRaster(int x,
int y,
int w,
int h)
-
- Specified by:
getRaster in interface PaintContext
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.