Skip to main content

Interface: ExtGStateOptions

Graphics-state parameters for fill/stroke alpha and blend mode. Emitted as an inline ExtGState entry referenced by the gs operator.

Properties

PropertyTypeDescription
blendMode?PdfBlendModeBlend mode applied to subsequent painting operations. Maps to /BM.
fillAlpha?numberNon-stroking (fill) alpha constant (0..1). Maps to /ca.
softMask?SoftMaskHandle | nullSoft mask reference. When provided, /SMask in the ExtGState references a Form XObject built via PdfDocument.createLuminositySoftMask. Pass null to set /SMask /None (clearing any active mask).
strokeAlpha?numberStroking alpha constant (0..1). Maps to /CA.