Skip to content

modern-pdf-lib


modern-pdf-lib / setStrokeColorGray

Function: setStrokeColorGray()

setStrokeColorGray(gray): string

Defined in: src/core/operators/color.ts:157

Set the stroke colour in the DeviceGray colour space (G).

Parameters

gray

number

Returns

string

Released under the MIT License.