|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pdfview.pattern.PDFPattern
public abstract class PDFPattern
The abstract superclass of all PDF Pattern types
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,
java.util.Map resources)
Read a pattern from the given pattern stream |
int |
getPatternType()
Get the type of this pattern |
java.awt.geom.AffineTransform |
getTransform()
Get the transform associated with this pattern |
protected abstract void |
parse(PDFObject patternObj,
java.util.Map resources)
Parse the pattern-specific information from the pdf object |
protected void |
setTransform(java.awt.geom.AffineTransform xform)
Set the transform associated with this pattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PDFPattern(int type)
Method Detail |
---|
public static PDFPattern getPattern(PDFObject patternObj, java.util.Map resources) throws java.io.IOException
java.io.IOException
public int getPatternType()
public java.awt.geom.AffineTransform getTransform()
protected void setTransform(java.awt.geom.AffineTransform xform)
protected abstract void parse(PDFObject patternObj, java.util.Map resources) throws java.io.IOException
patternObj
- the pdfobject with data for this pattern
java.io.IOException
public abstract PDFPaint getPaint(PDFPaint basePaint)
basePaint
- the background paint color, or null for none
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |