DisplayColor Struct

Definition

A colour in a display list: the colour space it was specified in, its components, and what its conversion depends on. Never converted: a backend converts it to its own device model. Valid only during the backend call that hands it over.

public ref readonly struct DisplayColor

Remarks

ISO 32000-2 §8.6.1: the display list carries the colour specification, device independent; colour rendering (§10) is the backend's. Keeping the specified space (DeviceCMYK, Separation, Lab, ICCBased and so on) rather than a device colour leaves CMYK, separation and colour-managed output possible.

Convert with list.Document.GetColorConverter(color.ColorSpace, color.Conversion with { Target = … }, color.DefaultColorSpaces) (GetColorConverter(PdfColorSpace, ColorConversion, PdfDefaultColorSpaces?)), which expands the special spaces, applies the default colour spaces and hands the rest to the engine's IColorManagement.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (4)