org.apache.pdfbox.pdmodel.graphics.shading
Class RadialShadingContext
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.RadialShadingContext
- All Implemented Interfaces:
- PaintContext
public class RadialShadingContext
- extends Object
- implements PaintContext
This class represents the PaintContext of an radial shading.
- Version:
- $Revision: $
- Author:
- lehmi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadialShadingContext
public RadialShadingContext(PDShadingType3 shadingType3,
ColorModel colorModelValue,
AffineTransform xform,
Matrix ctm,
int pageHeight)
- Constructor creates an instance to be used for fill operations.
- Parameters:
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 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.