ExtGState

Overview

ExtGState is a class in Aspose.Pdf FOSS for Java.

Extended graphics state parameter dictionary (ISO 32000-1:2008, §8.4.5, Table 58).

Properties

NameTypeAccessDescription
strokingAlphadoubleReadReturns the stroking alpha constant (/CA).
nonStrokingAlphadoubleReadReturns the non-stroking alpha constant (/ca).
blendModeStringReadReturns the blend mode (/BM).
softMaskCOSBaseReadReturns the soft mask (/SMask) value — may be COSName(“None”) or COSDictionary.
lineWidthdoubleReadReturns the line width (/LW), or -1 if not set.
lineCapintReadReturns the line cap style (/LC), or -1 if not set.
lineJoinintReadReturns the line join style (/LJ), or -1 if not set.
miterLimitdoubleReadReturns the miter limit (/ML), or -1 if not set.
fontCOSArrayReadReturns the font entry (/Font) — [font size] array, or null.
overprintbooleanReadReturns the overprint flag (/OP).
nonStrokingOverprintbooleanReadReturns the non-stroking overprint flag (/op).
cOSDictionaryCOSDictionaryReadReturns the underlying COS dictionary.

Methods

SignatureDescription
ExtGState(dict: COSDictionary)Creates an ExtGState from a graphics state parameter dictionary.
getStrokingAlpha()doubleReturns the stroking alpha constant (/CA).
getNonStrokingAlpha()doubleReturns the non-stroking alpha constant (/ca).
getBlendMode()StringReturns the blend mode (/BM).
getSoftMask()COSBaseReturns the soft mask (/SMask) value — may be COSName(“None”) or COSDictionary.
getLineWidth()doubleReturns the line width (/LW), or -1 if not set.
getLineCap()intReturns the line cap style (/LC), or -1 if not set.
getLineJoin()intReturns the line join style (/LJ), or -1 if not set.
getMiterLimit()doubleReturns the miter limit (/ML), or -1 if not set.
getFont()COSArrayReturns the font entry (/Font) — [font size] array, or null.
getOverprint()booleanReturns the overprint flag (/OP).
getNonStrokingOverprint()booleanReturns the non-stroking overprint flag (/op).
getCOSDictionary()COSDictionaryReturns the underlying COS dictionary.

See Also