| Package | Description |
|---|---|
| org.sejda.sambox.pdmodel | |
| org.sejda.sambox.pdmodel.graphics.pattern | |
| org.sejda.sambox.pdmodel.graphics.shading |
| Modifier and Type | Method and Description |
|---|---|
PDShading |
PDResources.getShading(COSName name)
Returns the shading resource with the given name, or null if none exists.
|
PDShading |
ResourceCache.getShading(COSObjectKey key)
Returns the shading resource for the given key object, if it is in the cache.
|
PDShading |
DefaultResourceCache.getShading(COSObjectKey key) |
| Modifier and Type | Method and Description |
|---|---|
COSName |
PDResources.add(PDShading shading)
Adds the given shading to the resources of the current page and returns the name for the new resources.
|
void |
PDResources.put(COSName name,
PDShading shading)
Sets the shading resource with the given name.
|
void |
ResourceCache.put(COSObjectKey key,
PDShading shading)
Puts the given key shading resource in the cache.
|
void |
DefaultResourceCache.put(COSObjectKey key,
PDShading shading) |
void |
PDPageContentStream.shadingFill(PDShading shading)
Fills the clipping area with the given shading.
|
| Modifier and Type | Method and Description |
|---|---|
PDShading |
PDShadingPattern.getShading()
This will get the shading resources for this pattern.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDShadingPattern.setShading(PDShading shadingResources)
This will set the shading resources for this pattern.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShadingPaint<TPDShading extends PDShading>
This is base class for all PDShading-Paints to allow other low level libraries access to the
shading source data.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PDShadingType1
Resources for a function based shading.
|
class |
PDShadingType2
Resources for an axial shading.
|
class |
PDShadingType3
Resources for a radial shading.
|
class |
PDShadingType4
Resources for a shading type 4 (Free-Form Gouraud-Shaded Triangle Mesh).
|
class |
PDShadingType5
Resources for a shading type 5 (Lattice-Form Gouraud-Shade Triangle Mesh).
|
class |
PDShadingType6
Resources for a shading type 6 (Coons Patch Mesh).
|
class |
PDShadingType7
Resources for a shading type 7 (Tensor-Product Patch Mesh).
|
| Modifier and Type | Field and Description |
|---|---|
protected TPDShading |
ShadingPaint.shading |
| Modifier and Type | Method and Description |
|---|---|
static PDShading |
PDShading.create(COSDictionary shadingDictionary)
Create the correct PD Model shading based on the COS base shading.
|
| Constructor and Description |
|---|
ShadingContext(PDShading shading,
ColorModel cm,
AffineTransform xform,
Matrix matrix)
Constructor.
|
Copyright © 2020 sejda. All rights reserved.