Package org.openpdf.renderer.pattern
Class PatternType2
java.lang.Object
org.openpdf.renderer.pattern.PDFPattern
org.openpdf.renderer.pattern.PatternType2
A type 1 (tiling) pattern
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openpdf.renderer.pattern.PDFPattern
getPattern, getPatternType, getTransform, setTransform
-
Field Details
-
shader
the shader
-
-
Constructor Details
-
PatternType2
public PatternType2()Creates a new instance of PatternType1
-
-
Method Details
-
parse
Parse the pattern from the PDFObject Note the resources passed in are ignored...- Specified by:
parsein classPDFPattern- Parameters:
patternObj- the pdfobject with data for this pattern- Throws:
IOException
-
getPaint
Create a PDFPaint from this pattern and set of components. This creates a buffered image of this pattern using the given paint, then uses that image to create the correct TexturePaint to use in the PDFPaint.- Specified by:
getPaintin classPDFPattern- Parameters:
basePaint- the base paint to use, or null if not needed
-