This class represents an External Graphics State (ExtGState) object. An
ExtGState is an extension of the individual operators which sets a graphics
state, q, Q, cm, w, J, j, M, d, ri, i and gs. The gs operand points to a
named ExtGState resource which contains a dictionary whose contents specify
the values of one or more graphics state parameters. All the entries in this
dictionary are summarized in the following table. An ExtGSate dictionary
does not need to specify all entries and the results of gs operations are
cumulative.
| Key |
Type |
Desription |
| Type |
name |
(Optional) The type of PDF object that this dictionary describes;
must beExtGState for a graphics state parameter dictionary. |
| LW |
number |
(Optional; PDF 1.3) The line width |
| integer |
(Optional; PDF 1.3) The line cap style. |
|
| LJ |
integer |
(Optional; PDF 1.3) The line join styl. |
| ML |
number |
(Optional; PDF 1.3) The miter limit. |
| D |
array |
(Optional; PDF 1.3) The line dash pattern, expressed as an array of
the form [dashArray dashPhase], where dashArray is itself an array
and dashPhase is an integer |
| RI |
name |
(Optional; PDF 1.3) The name of the rendering intent. |
| OP |
boolean |
(Optional) A flag specifying whether to apply overprint. In PDF 1.2
and earlier, there is a single overprint parameter that applies to
all painting operations. Beginning with PDF 1.3, there are two
separate overprint parameters: one for stroking and one for all other
painting operations. Specifying an OP entry sets both parameters
unless there is also an op entry in the same graphics state parameter
dictionary, in which case the OP entry sets only the overprint
parameter for stroking. |
| op |
boolean |
(Optional; PDF 1.3) A flag specifying whether to apply overprint for
painting operations other than stroking. If this entry is absent,
the OP entry, if any, sets this parameter. |
| OPM |
integer |
(Optional; PDF 1.3) The overprint mode |
| Font |
array |
(Optional; PDF 1.3) An array of the form [font size], where font is
an indirect reference to a font dictionary and size is a number
expressed in text space units. These two objects correspond to the
operands of the Tf operator; however, the first operand is an
indirect object reference instead of a resource name. |
| BG |
function |
(Optional) The black-generation function, which maps the interval
[0.0 1.0] to the interval [0.0 1.0] |
| BG2 |
function or name |
(Optional; PDF 1.3) Same as BG except that the value may also be the
name Default, denoting the black-generation function that was in effect at the
start of the page. If both BG and BG2 are present in the same graphics state
parameter dictionary, BG2 takes precedence. |
| UCR |
function |
(Optional) The undercolor-removal function, which maps the interval
[0.0 1.0] to the interval [?1.0 1.0] (see Section 6.2.3, "Conversion
from DeviceRGB to DeviceCMYK"). |
| UCR2 |
function or name |
(Optional; PDF 1.3) Same as UCR except that the value may also be
the name Default, denoting the undercolor-removal function that was
in effect at the start of the page. If both UCR and UCR2 are present
in the same graphics state parameter dictionary, UCR2 takes precedence. |
| TR |
function, array, or name |
(Optional) The transfer function, which maps the interval [0.0 1.0]
to the interval [0.0 1.0] (see Section 6.3, "Transfer Functions").
The value is either a single function (which applies to all process
colorants) or an array of four functions (which apply to the process
colorants individually). The name Identity may be used to represent
the identity function. |
| TR2 |
function, array, or name |
(Optional; PDF 1.3) Same as TR except that the value may also be the name
Default, denoting the transfer function that was in effect at the start of the
page. If both TR and TR2 are present in the same graphics state parameter dictionary,
TR2 takes precedence. |
| HT |
dictionary, stream, or name |
(Optional) The halftone dictionary or stream (see Section 6.4, "Halftones") or
the name Default, denoting the halftone that was in effect at the start of the
page. |
| FL |
number |
(Optional; PDF 1.3) The flatness tolerance |
| SM |
number |
(Optional; PDF 1.3) The smoothness tolerance |
| SA |
boolean |
(Optional) A flag specifying whether to apply automatic stroke adjustment
(see Section 6.5.4, "Automatic Stroke Adjustment"). |
| BM |
name or array |
(Optional; PDF 1.4) The current blend mode to be used in the
transparent imaging model. |
| SMask |
dictionary or name |
(Optional; PDF 1.4) The current soft mask, specifying the mask shape
or mask opacity values to be used in the transparent imaging model |
| CA |
number |
(Optional; PDF 1.4) The current stroking alpha constant,
specifying the constant shape or constant opacity value to be used for
stroking operations in the transparent imaging model. |
| ca |
number |
(Optional; PDF 1.4) Same as CA, but for nonstroking operations. |