ExtGState
Parsed Extended Graphics State (ISO 32000-1 §8.4.5).
Each /ExtGState /<name> resource is a dict of state-modifier entries. The gs content-stream operator merges them into the current GraphicsState. We extract only the fields we actually act on:
/CA: stroke alpha (0..1)/ca: fill alpha (0..1)/BM: blend mode (name or array of names)/SMask: soft-mask dict ("None" / Mask dict)/LW/LC/LJ/ML/D: line width, cap, join, miter limit and dash/RI/UseBlackPtComp: rendering intent and black point compensation/OP/op/OPM: overprint for strokes and fills, and the overprint mode/AIS,/SA,/Font: accepted but ignored (rare)
Missing fields stay at their previous values; that's the spec's "ExtGState modifies the current state" rule.
Constructors
Properties
/UseBlackPtComp of ISO 32000-2, 8.4.5: true for /ON, false for /OFF and /Default, as MuPDF reads it, or null when the dictionary does not set it.
/op: overprint for fills and other paints. When it is absent, /OP sets it too (ISO 32000-1, Table 58).
/OPM: the overprint mode, 0 or 1, or null when the dictionary does not set it.
/OP: overprint for strokes, or null when the dictionary does not set it.
/RI, or null when the dictionary sets no rendering intent.