org.apache.pdfbox.pdmodel.graphics.shading
Class RadialShadingContext

java.lang.Object
  extended by 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

Constructor Summary
RadialShadingContext(PDShadingType3 shadingType3, ColorModel colorModelValue, AffineTransform xform, Matrix ctm, int pageHeight)
          Constructor creates an instance to be used for fill operations.
 
Method Summary
 void dispose()
          
 ColorModel getColorModel()
          
 Raster getRaster(int x, int y, int w, int h)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 used
colorModelValue - the color model to be used
xform - transformation for user to device space
ctm - current transformation matrix
pageHeight - height of the current page
Method Detail

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.