sempdf
sempdf v1.9.1Functions

Function: gray()

sempdf v1.9.1


sempdf / gray

function gray(value): GrayColor;

Defined in: src/types.ts:3735

Creates a grayscale color object using a normalized value from 0 for black to 1 for white.

Parameters

ParameterTypeDescription
valuenumberGray channel value from 0 to 1.

Returns

GrayColor

The grayscale color object.

On this page