Appearance
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
| Property | Type | Description | Defined in |
|---|---|---|---|
blendMode? | PdfBlendMode | Blend mode applied to subsequent painting operations. Maps to /BM. | src/types.ts:726 |
fillAlpha? | number | Non-stroking (fill) alpha constant (0..1). Maps to /ca. | src/types.ts:724 |
softMask? | SoftMaskHandle | null | Soft 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? | number | Stroking alpha constant (0..1). Maps to /CA. | src/types.ts:722 |