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.
|
PDAbstractPattern |
ResourceCache.getPattern(COSObject indirect)
Returns the pattern resource for the given indirect object, if it is in the cache.
|
PDAbstractPattern |
DefaultResourceCache.getPattern(COSObject indirect) |
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.
|
void |
ResourceCache.put(COSObject indirect,
PDAbstractPattern pattern)
Puts the given indirect pattern resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDAbstractPattern pattern) |
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 dictionary)
Create the correct PD Model pattern based on the COS base pattern.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.