modern-pdf-lib / setStrokeColorRgb
Function: setStrokeColorRgb()
setStrokeColorRgb(
r,g,b):string
Defined in: src/core/operators/color.ts:138
Set the stroke colour in the DeviceRGB colour space (RG).
Parameters
r
number
g
number
b
number
Returns
string