com.sun.pdfview.pattern
public abstract class PDFPattern extends Object
Constructor Summary | |
---|---|
protected | PDFPattern(int type) Creates a new instance of PDFPattern |
Method Summary | |
---|---|
abstract PDFPaint | getPaint(PDFPaint basePaint)
Returns paint that represents the selected pattern
|
static PDFPattern | getPattern(PDFObject patternObj, Map resources)
Read a pattern from the given pattern stream |
int | getPatternType()
Get the type of this pattern |
AffineTransform | getTransform()
Get the transform associated with this pattern |
protected abstract void | parse(PDFObject patternObj, Map resources)
Parse the pattern-specific information from the pdf object
|
protected void | setTransform(AffineTransform xform)
Set the transform associated with this pattern |
Parameters: basePaint the background paint color, or null for none
Parameters: patternObj the pdfobject with data for this pattern