public class PdfGState extends PdfDictionary
| Modifier and Type | Field and Description |
|---|---|
static PdfName |
BM_COLORBURN
A possible blend mode
|
static PdfName |
BM_COLORDODGE
A possible blend mode
|
static PdfName |
BM_COMPATIBLE
A possible blend mode
|
static PdfName |
BM_DARKEN
A possible blend mode
|
static PdfName |
BM_DIFFERENCE
A possible blend mode
|
static PdfName |
BM_EXCLUSION
A possible blend mode
|
static PdfName |
BM_HARDLIGHT
A possible blend mode
|
static PdfName |
BM_LIGHTEN
A possible blend mode
|
static PdfName |
BM_MULTIPLY
A possible blend mode
|
static PdfName |
BM_NORMAL
A possible blend mode
|
static PdfName |
BM_OVERLAY
A possible blend mode
|
static PdfName |
BM_SCREEN
A possible blend mode
|
static PdfName |
BM_SOFTLIGHT
A possible blend mode
|
| Constructor and Description |
|---|
PdfGState() |
| Modifier and Type | Method and Description |
|---|---|
void |
setAlphaIsShape(boolean v)
The alpha source flag specifying whether the current soft mask and alpha constant are to be interpreted as shape
values (true) or opacity values (false).
|
void |
setBlendMode(PdfName bm)
The current blend mode to be used in the transparent imaging model.
|
void |
setFillOpacity(float n)
Sets the current fill alpha constant, specifying the constant shape or constant opacity value to be used for
filling operations in the transparent imaging model.
|
void |
setOverPrintMode(int ov)
Sets the flag whether to toggle knockout behavior for overprinted objects.
|
void |
setOverPrintNonStroking(boolean ov)
Sets the flag whether to apply overprint for non stroking painting operations.
|
void |
setOverPrintStroking(boolean ov)
Sets the flag whether to apply overprint for stroking.
|
void |
setStrokeOpacity(float n)
Sets the current stroking alpha constant, specifying the constant shape or constant opacity value to be used for
stroking operations in the transparent imaging model.
|
void |
setTextKnockout(boolean v)
Determines the behavior of overlapping glyphs within a text object in the transparent imaging model.
|
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringcanBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, typepublic static final PdfName BM_NORMAL
public static final PdfName BM_COMPATIBLE
public static final PdfName BM_MULTIPLY
public static final PdfName BM_SCREEN
public static final PdfName BM_OVERLAY
public static final PdfName BM_DARKEN
public static final PdfName BM_LIGHTEN
public static final PdfName BM_COLORDODGE
public static final PdfName BM_COLORBURN
public static final PdfName BM_HARDLIGHT
public static final PdfName BM_SOFTLIGHT
public static final PdfName BM_DIFFERENCE
public static final PdfName BM_EXCLUSION
public void setOverPrintStroking(boolean ov)
ov - true to apply overprint for stroking false otherwisepublic void setOverPrintNonStroking(boolean ov)
ov - true to apply overprint for non stroking painting operations false otherwisepublic void setOverPrintMode(int ov)
ov - - accepts 0 or 1public void setStrokeOpacity(float n)
n - the stroking alpha constantpublic void setFillOpacity(float n)
n - the fll alpha constantpublic void setAlphaIsShape(boolean v)
v - true if the alpha source flag and alpha constant should be interpreted as shape value false if they
should be interpreted as opacity valuespublic void setTextKnockout(boolean v)
v - boolean for overlapping glyphs behaviorpublic void setBlendMode(PdfName bm)
bm - the blend modeCopyright © 2024. All rights reserved.