org.apache.pdfbox.pdmodel.graphics.shading
Class AxialShadingPaint
java.lang.Object
org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint
- All Implemented Interfaces:
- Paint, Transparency
public class AxialShadingPaint
- extends Object
- implements Paint
AWT Paint for axial shading.
- Author:
- Andreas Lehmkühler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxialShadingPaint
public AxialShadingPaint(PDShadingType2 shadingType2,
Matrix ctm,
int pageHeight)
- Constructor.
- Parameters:
shadingType2 - the shading resourcesctm - current transformation matrixpageHeight - size of the current page
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
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.