public class AxialShadingPaint extends Object implements Paint
BITMASK, OPAQUE, TRANSLUCENT| Constructor and Description |
|---|
AxialShadingPaint(PDShadingType2 shadingType2,
Matrix ctm,
int pageHeight)
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 pageHeight)
shadingType2 - the shading resourcesctm - current transformation matrixpageHeight - size of the current pagepublic int getTransparency()
getTransparency in interface Transparencypublic PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
createContext in interface PaintCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.