Package | Description |
---|---|
org.apache.pdfbox.pdmodel.graphics.blend | |
org.apache.pdfbox.pdmodel.graphics.state |
This package deals with graphics states within the PDF document.
|
Modifier and Type | Class and Description |
---|---|
class |
NonSeparableBlendMode
Non-separable blend mode (supports blend function).
|
class |
SeparableBlendMode
Separable blend mode (support blendChannel)
|
Modifier and Type | Field and Description |
---|---|
private BlendMode |
BlendComposite.blendMode |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<BlendMode,COSName> |
BlendMode.BLEND_MODE_NAMES |
private static java.util.Map<COSName,BlendMode> |
BlendMode.BLEND_MODES |
Modifier and Type | Method and Description |
---|---|
static BlendMode |
BlendMode.getInstance(COSBase cosBlendMode)
Determines the blend mode from the BM entry in the COS ExtGState.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<COSName,BlendMode> |
BlendMode.createBlendModeMap() |
private static java.util.Map<BlendMode,COSName> |
BlendMode.createBlendModeNamesMap() |
Modifier and Type | Method and Description |
---|---|
static COSName |
BlendMode.getCOSName(BlendMode bm)
Determines the blend mode name from the BM object.
|
static java.awt.Composite |
BlendComposite.getInstance(BlendMode blendMode,
float constantAlpha)
Creates a blend composite
|
Constructor and Description |
---|
BlendComposite(BlendMode blendMode,
float constantAlpha) |
Modifier and Type | Field and Description |
---|---|
private BlendMode |
PDGraphicsState.blendMode |
Modifier and Type | Method and Description |
---|---|
BlendMode |
PDGraphicsState.getBlendMode()
Returns the current blend mode
|
BlendMode |
PDExtendedGraphicsState.getBlendMode()
Returns the blending mode stored in the COS dictionary
|
Modifier and Type | Method and Description |
---|---|
void |
PDGraphicsState.setBlendMode(BlendMode blendMode)
Sets the blend mode in the current graphics state
|
void |
PDExtendedGraphicsState.setBlendMode(BlendMode bm)
Set the blending mode.
|