| Package | Description |
|---|---|
| org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
| org.apache.pdfbox.pdmodel.graphics.color |
This package deals with colors that are stored in a PDF document.
|
| org.apache.pdfbox.pdmodel.graphics.pattern |
This package deals with patterns which are used instead of colors.
|
| Modifier and Type | Method and Description |
|---|---|
PDAbstractPattern |
PDResources.getPattern(COSName name)
Returns the pattern resource with the given name, or null if none exists.
|
| Modifier and Type | Method and Description |
|---|---|
COSName |
PDResources.add(PDAbstractPattern pattern)
Adds the given pattern to the resources of the current page and returns the name for the
new resources.
|
void |
PDResources.put(COSName name,
PDAbstractPattern pattern)
Sets the pattern resource with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
PDAbstractPattern |
PDPattern.getPattern(PDColor color)
Returns the pattern for the given color.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PDShadingPattern
A shading pattern dictionary.
|
class |
PDTilingPattern
A tiling pattern dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
static PDAbstractPattern |
PDAbstractPattern.create(COSDictionary resourceDictionary)
Create the correct PD Model pattern based on the COS base pattern.
|
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.