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

java.lang.Object
  extended by org.apache.pdfbox.pdmodel.graphics.shading.RadialShadingPaint
All Implemented Interfaces:
Paint, Transparency

public class RadialShadingPaint
extends Object
implements Paint

This represents the Paint of an radial shading.

Version:
$Revision: $
Author:
lehmi

Field Summary
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
RadialShadingPaint(PDShadingType3 shadingType3, Matrix ctm, int pageHeightValue)
          Constructor.
 
Method Summary
 PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          
 int getTransparency()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadialShadingPaint

public RadialShadingPaint(PDShadingType3 shadingType3,
                          Matrix ctm,
                          int pageHeightValue)
Constructor.

Parameters:
shadingType3 - the shading resources
ctm - current transformation matrix
pageSizeValue - size of the current page
Method Detail

getTransparency

public int getTransparency()

Specified by:
getTransparency in interface Transparency

createContext

public PaintContext createContext(ColorModel cm,
                                  Rectangle deviceBounds,
                                  Rectangle2D userBounds,
                                  AffineTransform xform,
                                  RenderingHints hints)

Specified by:
createContext in interface Paint