public class PdfGState extends PdfDictionary
| Modifier and Type | Field and Description |
|---|---|
static PdfName |
BM_COMPATIBLE
A possible blend mode
|
static PdfName |
BM_NORMAL
A possible blend mode
|
hashMap| 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 stroking alpha constant, specifying the constant shape or
constant opacity value to be used for nonstroking 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.
|
get, getAsArray, getAsDict, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, put, remove, size, toPdf, toStringgetBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, typepublic static final PdfName BM_NORMAL
public static final PdfName BM_COMPATIBLE
public void setOverPrintStroking(boolean ov)
ov - boolean to setpublic void setOverPrintNonStroking(boolean ov)
ov - overPrint to setpublic void setOverPrintMode(int ov)
ov - - accepts 0 or 1public void setStrokeOpacity(float n)
n - opacity to setpublic void setFillOpacity(float n)
n - opacity to setpublic void setAlphaIsShape(boolean v)
v - set the shapepublic void setTextKnockout(boolean v)
v - set if knockoutpublic void setBlendMode(PdfName bm)
bm - set if blend modeCopyright © 2021. All rights reserved.