modern-pdf-lib / setGraphicsStateOp
Function: setGraphicsStateOp()
setGraphicsStateOp(
name):string
Defined in: src/core/operators/state.ts:199
Set the graphics state dictionary (gs).
The name must refer to an entry in the page's /Resources /ExtGState dictionary.
Parameters
name
string
Graphics-state resource name (e.g. GS1).
Returns
string