Skip to content

modern-pdf-lib


modern-pdf-lib / setFillColorGray

Function: setFillColorGray()

setFillColorGray(gray): string

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

Set the fill colour in the DeviceGray colour space (g).

Parameters

gray

number

Returns

string

Released under the MIT License.