Class PdfGState
java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfGState
The graphic state dictionary.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend modestatic final PdfName
A possible blend mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
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 behaviour of overlapping glyphs within a text object in the transparent imaging model.Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toPdf
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, type
-
Field Details
-
BM_NORMAL
A possible blend mode -
BM_COMPATIBLE
A possible blend mode -
BM_MULTIPLY
A possible blend mode -
BM_SCREEN
A possible blend mode -
BM_OVERLAY
A possible blend mode -
BM_DARKEN
A possible blend mode -
BM_LIGHTEN
A possible blend mode -
BM_COLORDODGE
A possible blend mode -
BM_COLORBURN
A possible blend mode -
BM_HARDLIGHT
A possible blend mode -
BM_SOFTLIGHT
A possible blend mode -
BM_DIFFERENCE
A possible blend mode -
BM_EXCLUSION
A possible blend mode
-
-
Constructor Details
-
PdfGState
public PdfGState()
-
-
Method Details
-
setOverPrintStroking
public void setOverPrintStroking(boolean ov) Sets the flag whether to apply overprint for stroking.- Parameters:
ov
-
-
setOverPrintNonStroking
public void setOverPrintNonStroking(boolean ov) Sets the flag whether to apply overprint for non stroking painting operations.- Parameters:
ov
-
-
setStrokeOpacity
public 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.- Parameters:
n
-
-
setFillOpacity
public 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.- Parameters:
n
-
-
setAlphaIsShape
public 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).- Parameters:
v
-
-
setTextKnockout
public void setTextKnockout(boolean v) Determines the behaviour of overlapping glyphs within a text object in the transparent imaging model.- Parameters:
v
-
-
setBlendMode
The current blend mode to be used in the transparent imaging model.- Parameters:
bm
-
-