Package org.openpdf.text.pdf
Class PdfGState
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.PdfGState
The graphic state dictionary.
-
Field Summary
Fields inherited from class org.openpdf.text.pdf.PdfDictionary
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGESFields inherited from class org.openpdf.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFillOpacity(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.voidsetStrokeOpacity(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.Methods inherited from class org.openpdf.text.pdf.PdfDictionary
contains, get, getAsDict, getDirectObject, getKeys, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class org.openpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, isArray, isDictionary, isName, isNull, isNumber, isString, setContent, type
-
Constructor Details
-
PdfGState
public PdfGState()
-
-
Method Details
-
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- the stroking alpha constant
-
setFillOpacity
public 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.- Parameters:
n- the fll alpha constant
-