Skip to content

happypdf / colorString

Function: colorString() ​

ts
function colorString(color): {
  alpha?: number;
  rgb: Color;
};

Defined in: src/api/colors.ts:65

Parameters ​

ParameterType
colorstring

Returns ​

ts
{
  alpha?: number;
  rgb: Color;
}

alpha? ​

ts
optional alpha?: number;

rgb ​

ts
rgb: Color;

MIT Licensed. A fork of pdf-lib.