Class AxialShadingPaint
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.graphics.shading.ShadingPaint<PDShadingType2>
-
- org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint
-
- All Implemented Interfaces:
java.awt.Paint
,java.awt.Transparency
public class AxialShadingPaint extends ShadingPaint<PDShadingType2>
AWT Paint for axial shading.
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.commons.logging.Log
LOG
-
Fields inherited from class org.apache.pdfbox.pdmodel.graphics.shading.ShadingPaint
matrix, shading
-
-
Constructor Summary
Constructors Constructor Description AxialShadingPaint(PDShadingType2 shadingType2, Matrix matrix)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.PaintContext
createContext(java.awt.image.ColorModel cm, java.awt.Rectangle deviceBounds, java.awt.geom.Rectangle2D userBounds, java.awt.geom.AffineTransform xform, java.awt.RenderingHints hints)
int
getTransparency()
-
Methods inherited from class org.apache.pdfbox.pdmodel.graphics.shading.ShadingPaint
getMatrix, getShading
-
-
-
-
Constructor Detail
-
AxialShadingPaint
AxialShadingPaint(PDShadingType2 shadingType2, Matrix matrix)
Constructor.- Parameters:
shadingType2
- the shading resourcesmatrix
- the pattern matrix concatenated with that of the parent content stream
-
-