| Package | Description |
|---|---|
| org.sejda.sambox.pdmodel | |
| org.sejda.sambox.pdmodel.graphics.color | |
| org.sejda.sambox.pdmodel.graphics.pattern |
| 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(COSObjectKey key)
Returns the pattern resource for the given key object, if it is in the cache.
|
PDAbstractPattern |
DefaultResourceCache.getPattern(COSObjectKey key) |
| 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(COSObjectKey key,
PDAbstractPattern pattern)
Puts the given key pattern resource in the cache.
|
void |
DefaultResourceCache.put(COSObjectKey key,
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 resourceDictionary)
Create the correct PD Model pattern based on the COS base pattern.
|
Copyright © 2020 sejda. All rights reserved.