Skip to content

modern-pdf-lib


modern-pdf-lib / setStrokingColor

Variable: setStrokingColor()

const setStrokingColor: (color) => string = applyStrokeColor

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

Emit the appropriate stroke-colour operator for a Color value.

Alias for applyStrokeColor for pdf-lib API compatibility.

Emit the appropriate stroke-colour operator for a Color value.

Parameters

color

Color

Returns

string

Released under the MIT License.