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 Transparency
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
createContext
in interface Paint
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.