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
| 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 | COSBase | Read | Returns the soft mask (/SMask) value — may be COSName(“None”) or COSDictionary. |
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 | COSArray | 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). |
cOSDictionary | COSDictionary | Read | Returns the underlying COS dictionary. |
Methods
| Signature | Description |
|---|---|
ExtGState(dict: COSDictionary) | 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() → COSBase | Returns the soft mask (/SMask) value — may be COSName(“None”) or COSDictionary. |
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() → COSArray | 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). |
getCOSDictionary() → COSDictionary | Returns the underlying COS dictionary. |