Skip to content

zeropdf v1.3.0


zeropdf / deviceN

Function: deviceN()

ts
function deviceN(
   names, 
   tints, 
   alternate): DeviceNColor;

Defined in: src/types.ts:3090

Creates a DeviceN (multi-ink spot) color.

Parameters

ParameterTypeDescription
namesreadonly string[]Ink names, one per channel.
tintsreadonly number[]Tint values per channel, one per name (0..1).
alternateProcessColorProcess color produced when all channels are at full tint.

Returns

DeviceNColor

Released under the ISC license.