| Modifier and Type | Field and Description |
|---|---|
| public static final int | PAINT_COLORED
paint type 1 = colored tiling pattern. |
| public static final int | PAINT_UNCOLORED
paint type 2 = uncolored tiling pattern. |
| private final ResourceCache | |
| public static final int | TILING_CONSTANT_SPACING
tiling type 1 = constant spacing. |
| public static final int | TILING_CONSTANT_SPACING_FASTER_TILING
tiling type 3 = constant spacing and faster tiling. |
| public static final int | TILING_NO_DISTORTION
tiling type 2 = no distortion. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDTilingPattern(COSDictionary
The COSDictionary for this pattern. dictionary)Creates a new tiling pattern from the given COS dictionary. |
| public | PDTilingPattern(COSDictionary
The COSDictionary for this pattern. dictionary, ResourceCache The resource cache, may be null resourceCache)Creates a new tiling pattern from the given COS dictionary. |
| Modifier and Type | Method and Description |
|---|---|
| public PDRectangle | Returns: The BBox of the pattern.Implements org. 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. |
| public InputStream | getContents()
Implements org. Returns this stream's content, if any. |
| public RandomAccessRead | getContentsForRandomAccess()
Implements org. Returns this stream's content, if any. |
| public PDStream | |
| public int | |
| public int | getPatternType()
Implements abstract org. This will return the pattern type. |
| public PDResources | Returns: The resources for this pattern.Implements org. This will get the resources for this pattern. |
| public int | |
| public float | |
| public float | |
| public void | setBBox(PDRectangle
The new BBox for this Pattern. bbox)This will set the BBox (bounding box) for this Pattern. |
| public void | setPaintType(int
The new paint type. paintType)Overrides org. This will set the paint type. |
| public final void | setResources(PDResources
The new resources for this pattern. resources)This will set the resources for this pattern. |
| public void | |
| public void | |
| public void |
| PAINT_COLORED | back to summary |
|---|---|
| public static final int PAINT_COLORED paint type 1 = colored tiling pattern. | |
| PAINT_UNCOLORED | back to summary |
|---|---|
| public static final int PAINT_UNCOLORED paint type 2 = uncolored tiling pattern. | |
| resourceCache | back to summary |
|---|---|
| private final ResourceCache resourceCache | |
| TILING_CONSTANT_SPACING | back to summary |
|---|---|
| public static final int TILING_CONSTANT_SPACING tiling type 1 = constant spacing. | |
| TILING_CONSTANT_SPACING_FASTER_TILING | back to summary |
|---|---|
| public static final int TILING_CONSTANT_SPACING_FASTER_TILING tiling type 3 = constant spacing and faster tiling. | |
| TILING_NO_DISTORTION | back to summary |
|---|---|
| public static final int TILING_NO_DISTORTION tiling type 2 = no distortion. | |
| PDTilingPattern | back to summary |
|---|---|
| public PDTilingPattern() Creates a new tiling pattern. | |
| PDTilingPattern | back to summary |
|---|---|
| public PDTilingPattern(COSDictionary dictionary) Creates a new tiling pattern from the given COS dictionary.
| |
| PDTilingPattern | back to summary |
|---|---|
| public PDTilingPattern(COSDictionary dictionary, ResourceCache resourceCache) Creates a new tiling pattern from the given COS dictionary.
| |
| getBBox | back to summary |
|---|---|
| public PDRectangle getBBox() Implements org. 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.
| |
| getContents | back to summary |
|---|---|
| public InputStream getContents() throws IOException Implements org. Doc from org. Returns this stream's content, if any.
| |
| getContentsForRandomAccess | back to summary |
|---|---|
| public RandomAccessRead getContentsForRandomAccess() throws IOException Implements org. Doc from org. Returns this stream's content, if any.
| |
| getContentStream | back to summary |
|---|---|
| public PDStream getContentStream() | |
| getPaintType | back to summary |
|---|---|
| public int getPaintType() This will return the paint type.
| |
| getPatternType | back to summary |
|---|---|
| public int getPatternType() Implements abstract org. Doc from org. This will return the pattern type.
| |
| getResources | back to summary |
|---|---|
| public PDResources getResources() Implements org. This will get the resources for this pattern. This will return null if no resources are available at this level.
| |
| getTilingType | back to summary |
|---|---|
| public int getTilingType() This will return the tiling type.
| |
| getXStep | back to summary |
|---|---|
| public float getXStep() This will return the XStep value.
| |
| getYStep | back to summary |
|---|---|
| public float getYStep() This will return the YStep value.
| |
| setBBox | back to summary |
|---|---|
| public void setBBox(PDRectangle bbox) This will set the BBox (bounding box) for this Pattern.
| |
| setPaintType | back to summary |
|---|---|
| public void setPaintType(int paintType) Overrides org. This will set the paint type.
| |
| setResources | back to summary |
|---|---|
| public final void setResources(PDResources resources) This will set the resources for this pattern.
| |
| setTilingType | back to summary |
|---|---|
| public void setTilingType(int tilingType) This will set the tiling type.
| |
| setXStep | back to summary |
|---|---|
| public void setXStep(float xStep) This will set the XStep value.
| |
| setYStep | back to summary |
|---|---|
| public void setYStep(float yStep) This will set the YStep value.
| |