|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.graphics.pattern.PDPatternResources
org.apache.pdfbox.pdmodel.graphics.pattern.PDTilingPatternResources
public class PDTilingPatternResources
This represents the resources for a tiling pattern.
| Field Summary |
|---|
| Fields inherited from class org.apache.pdfbox.pdmodel.graphics.pattern.PDPatternResources |
|---|
SHADING_PATTERN, TILING_PATTERN |
| Constructor Summary | |
|---|---|
PDTilingPatternResources()
Default constructor. |
|
PDTilingPatternResources(COSDictionary resourceDictionary)
Prepopulated pattern resources. |
|
| Method Summary | |
|---|---|
PDRectangle |
getBBox()
An array of four numbers in the form coordinate system (see below), giving the coordinates of the left, bottom, right, and top edges, respectively, of the pattern's bounding box. |
int |
getLength()
This will return the length of the content stream. |
Matrix |
getMatrix()
This will get the optional Matrix of a Pattern. |
Paint |
getPaint(int pageHeight)
This will return the paint of the pattern. |
int |
getPaintType()
This will return the paint type. |
int |
getPatternType()
This will return the pattern type. |
PDResources |
getResources()
This will get the resources for this pattern. |
int |
getTilingType()
This will return the tiling type. |
int |
getXStep()
This will return the XStep value. |
int |
getYStep()
This will return the YStep value. |
void |
setBBox(PDRectangle bbox)
This will set the BBox (bounding box) for this Pattern. |
void |
setLength(int length)
This will set the length of the content stream. |
void |
setMatrix(AffineTransform transform)
Sets the optional Matrix entry for the Pattern. |
void |
setPaintType(int paintType)
This will set the paint type. |
void |
setResources(PDResources resources)
This will set the resources for this pattern. |
void |
setTilingType(int tilingType)
This will set the tiling type. |
void |
setXStep(int xStep)
This will set the XStep value. |
void |
setYStep(int yStep)
This will set the YStep value. |
| Methods inherited from class org.apache.pdfbox.pdmodel.graphics.pattern.PDPatternResources |
|---|
create, getCOSDictionary, getCOSObject, getFilter, getType, setFilter, setPatternType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PDTilingPatternResources()
public PDTilingPatternResources(COSDictionary resourceDictionary)
resourceDictionary - The COSDictionary for this pattern resource.| Method Detail |
|---|
public int getPatternType()
getPatternType in class PDPatternResourcespublic void setLength(int length)
setLength in class PDPatternResourceslength - The new stream length.public int getLength()
getLength in class PDPatternResourcespublic void setPaintType(int paintType)
setPaintType in class PDPatternResourcespaintType - The new paint type.public int getPaintType()
public void setTilingType(int tilingType)
tilingType - The new tiling type.public int getTilingType()
public void setXStep(int xStep)
xStep - The new XStep value.public int getXStep()
public void setYStep(int yStep)
yStep - The new YStep value.public int getYStep()
public PDResources getResources()
public void setResources(PDResources resources)
resources - The new resources for this pattern.public PDRectangle getBBox()
public void setBBox(PDRectangle bbox)
bbox - The new BBox for this Pattern.public Matrix getMatrix()
public void setMatrix(AffineTransform transform)
transform - the transformation matrix
public Paint getPaint(int pageHeight)
throws IOException
getPaint in class PDPatternResourcespageHeight - the height of the current page
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||