Class Type6ShadingPaint
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.graphics.shading.ShadingPaint<PDShadingType6>
-
- org.apache.pdfbox.pdmodel.graphics.shading.Type6ShadingPaint
-
- All Implemented Interfaces:
java.awt.Paint
,java.awt.Transparency
class Type6ShadingPaint extends ShadingPaint<PDShadingType6>
AWT Paint for coons patch meshes (Type 6) shading. This was done as part of GSoC2014, Tilman Hausherr is the mentor.
-
-
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 Type6ShadingPaint(PDShadingType6 shading, 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
-
Type6ShadingPaint
Type6ShadingPaint(PDShadingType6 shading, Matrix matrix)
Constructor.- Parameters:
shading
- the shading resourcesmatrix
- the pattern matrix concatenated with that of the parent content stream
-
-