Class PatternType2
java.lang.Object
org.loboevolution.pdfview.pattern.PDFPattern
org.loboevolution.pdfview.pattern.PatternType2
A type 1 (tiling) pattern
-
Constructor Summary
-
Method Summary
Methods inherited from class org.loboevolution.pdfview.pattern.PDFPattern
getPattern, getPatternType, getTransform, setTransform
-
Constructor Details
-
PatternType2
public PatternType2()Creates a new instance of PatternType1
-
-
Method Details
-
parse
Parse the pattern-specific information from the pdf objectParse the pattern from the PDFObject
Note the resources passed in are ignored...
- Specified by:
parse
in classPDFPattern
- Parameters:
patternObj
- the pdfobject with data for this patternrsrc
- aMap
object.- Throws:
IOException
- if any.
-
getPaint
Returns paint that represents the selected patternCreate 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:
getPaint
in classPDFPattern
- Parameters:
basePaint
- the background paint color, or null for none- Returns:
- a
PDFPaint
object.
-