public class AxialShadingPaint extends Object implements Paint
BITMASK, OPAQUE, TRANSLUCENT
Constructor and Description |
---|
AxialShadingPaint(PDShadingType2 shadingType2,
Matrix ctm,
int pageHeightValue)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PaintContext |
createContext(ColorModel cm,
Rectangle deviceBounds,
Rectangle2D userBounds,
AffineTransform xform,
RenderingHints hints) |
int |
getTransparency() |
public AxialShadingPaint(PDShadingType2 shadingType2, Matrix ctm, int pageHeightValue)
shadingType2
- the shading resourcesctm
- current transformation matrixpageSizeValue
- size of the current pagepublic int getTransparency()
getTransparency
in interface Transparency
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
createContext
in interface Paint
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.