sempdf v1.9.1Functions
Function: gray()
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
| Parameter | Type | Description |
|---|---|---|
value | number | Gray channel value from 0 to 1. |
Returns
The grayscale color object.