Skip to content

modern-pdf-lib


modern-pdf-lib / setFillColor

Function: setFillColor()

setFillColor(...components): string

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

Set the non-stroking colour in the current colour space (scn).

Parameters

components

...number[]

One or more colour components.

Returns

string

Released under the MIT License.