public class PatternType1 extends PDFPattern
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PatternType1()
Creates a new instance of PatternType1
|
Modifier and Type | Method and Description |
---|---|
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<String,PDFObject> |
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...
|
getPattern, getPatternType, getTransform, setTransform
public static final int PAINT_COLORED
public static final int PAINT_UNCOLORED
public static final int TILE_CONSTANT
public static final int TILE_NODISTORT
public static final int TILE_FASTER
protected void parse(PDFObject patternObj, Map rsrc) throws IOException
parse
in class PDFPattern
patternObj
- the pdfobject with data for this patternIOException
public PDFPaint getPaint(PDFPaint basePaint)
getPaint
in class PDFPattern
basePaint
- the base paint to use, or null if not neededpublic int getPaintType()
public int getTilingType()
public Rectangle2D getBBox()
public int getXStep()
public int getYStep()
Copyright © 2023. All rights reserved.