Skip to content

zeropdf v1.3.0


zeropdf / ExtGStateOptions

Interface: ExtGStateOptions

Defined in: src/types.ts:720

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

Properties

PropertyTypeDescriptionDefined in
blendMode?PdfBlendModeBlend mode applied to subsequent painting operations. Maps to /BM.src/types.ts:726
fillAlpha?numberNon-stroking (fill) alpha constant (0..1). Maps to /ca.src/types.ts:724
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).src/types.ts:732
strokeAlpha?numberStroking alpha constant (0..1). Maps to /CA.src/types.ts:722

Released under the ISC license.