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).
This class provides 13 methods for working with ExtGState objects in Java programs.
Available methods include: ExtGState, getBlendMode, getFont, getLineCap, getLineJoin, getLineWidth, getMiterLimit, getNonStrokingAlpha, getNonStrokingOverprint, getOverprint, getPdfDictionary, getSoftMask, and 1 additional methods.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: blendMode, font, lineCap, lineJoin, lineWidth, miterLimit, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
strokingAlpha | double | Read | Returns the stroking alpha constant (/CA). |
nonStrokingAlpha | double | Read | Returns the non-stroking alpha constant (/ca). |
blendMode | String | Read | Returns the blend mode (/BM). |
softMask | PdfBase | Read | Returns the soft mask (/SMask) value — may be PdfName(“None”) or PdfDictionary. |
lineWidth | double | Read | Returns the line width (/LW), or -1 if not set. |
lineCap | int | Read | Returns the line cap style (/LC), or -1 if not set. |
lineJoin | int | Read | Returns the line join style (/LJ), or -1 if not set. |
miterLimit | double | Read | Returns the miter limit (/ML), or -1 if not set. |
font | PdfArray | Read | Returns the font entry (/Font) — [font size] array, or null. |
overprint | boolean | Read | Returns the overprint flag (/OP). |
nonStrokingOverprint | boolean | Read | Returns the non-stroking overprint flag (/op). |
pdfDictionary | PdfDictionary | Read | Returns the underlying PDF dictionary. |
Methods
| Signature | Description |
|---|---|
ExtGState(dict: PdfDictionary) | Creates an ExtGState from a graphics state parameter dictionary. |
getStrokingAlpha() → double | Returns the stroking alpha constant (/CA). |
getNonStrokingAlpha() → double | Returns the non-stroking alpha constant (/ca). |
getBlendMode() → String | Returns the blend mode (/BM). |
getSoftMask() → PdfBase | Returns the soft mask (/SMask) value — may be PdfName(“None”) or PdfDictionary. |
getLineWidth() → double | Returns the line width (/LW), or -1 if not set. |
getLineCap() → int | Returns the line cap style (/LC), or -1 if not set. |
getLineJoin() → int | Returns the line join style (/LJ), or -1 if not set. |
getMiterLimit() → double | Returns the miter limit (/ML), or -1 if not set. |
getFont() → PdfArray | Returns the font entry (/Font) — [font size] array, or null. |
getOverprint() → boolean | Returns the overprint flag (/OP). |
getNonStrokingOverprint() → boolean | Returns the non-stroking overprint flag (/op). |
getPdfDictionary() → PdfDictionary | Returns the underlying PDF dictionary. |