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
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.
kind:method, kind:property, kind:ctor. Press Esc to clear.ColorSpaceGets the colour space the colour was selected in, resolved from the resources, before default colour spaces apply.ComponentsGets the components as the colour operator gave them, not yet clipped into their ranges.ConversionGets the conversion the graphics state asked for at the paint: rendering intent, black point compensation, black generation, undercolour removal and transfer function, with Target RGB; a backend for another device model replaces the target.DefaultColorSpacesGets the default colour spaces current where the colour was painted, which replace the device spaces on conversion.