com.sun.pdfview.pattern
public class PatternType1 extends PDFPattern
Field Summary | |
---|---|
static int | PAINT_COLORED paint types |
static int | PAINT_UNCOLORED |
static int | TILE_CONSTANT tiling types |
static int | TILE_FASTER |
static int | TILE_NODISTORT |
Constructor Summary | |
---|---|
PatternType1() Creates a new instance of PatternType1 |
Method Summary | |
---|---|
Rectangle2D | getBBox() get the bounding box |
PDFPaint | getPaint(PDFPaint basePaint)
Create a PDFPaint from this pattern and set of components.
|
int | getPaintType() get the paint type |
HashMap | getResources() get the associated resources |
int | getTilingType() get the tiling type |
int | getXStep() get the x step |
int | getYStep() get the y step |
protected void | parse(PDFObject patternObj, Map rsrc)
Parse the pattern from the PDFObject
Note the resources passed in are ignored... |
Parameters: basePaint the base paint to use, or null if not needed