CreateDeviceNColorSpace(IReadOnlyList, PdfColorSpace, PdfFunction) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Creates a DeviceN colour space with a tint transform of the caller's, or returns the one this document already has for the same values.

public PdfDeviceNColorSpace CreateDeviceNColorSpace(IReadOnlyList<string> colorants, PdfColorSpace alternate, PdfFunction tintTransform)

Parameters

colorants
IReadOnlyList<String>

The colourants' names, in component order: different from each other except None; 1 to 32 of them.

alternate
PdfColorSpace

The alternate space: a device or CIE-based space of this document, not a special space.

tintTransform
PdfFunction

A function of this document from the tints to the alternate's components.

Returns

PdfDeviceNColorSpace
The space, an indirect array.

Remarks

ISO 32000-2 §8.6.6.5 (PDF 1.3). Records PDF 1.3 and the function's version (§7.10). A mutation.