Table of Contents

Enum ColorantKind

Namespace
Egami.Colors
Assembly
Egami.dll

What a colorant is for, as PDF and ICC name inks.

public enum ColorantKind

Fields

Process = 0

A process ink of the output profile, such as Cyan or an n-colour press's Orange: colours convert into these.

Spot = 1

A spot colour, printed with its own ink, such as a Pantone colour.

Technical = 2

A technical ink, such as varnish, white or a die line: printed, but never shown in proofs.

Examples

// The inks of a page: FOGRA39's process inks, a spot colour with how it looks, and a varnish that never shows.
InkSet inks = InkSet.FromProfile(ColorProfile.Fogra39)
    .WithSpot("PANTONE 186 C", InkAppearance.Cmyk(0, 1, 0.81f, 0.04f))
    .WithSpot("Varnish", null, ColorantKind.Technical);

// Colours as inks: process CMYK, the spot at 60%, and the spot over 30% black (a DeviceN colour).
InkColor text = InkColor.Cmyk(0, 0, 0, 1);
InkColor logo = InkColor.Spot(inks[4], 0.6f);
InkColor shadow = InkColor.Mix(new InkTint(Colorant.Black, 0.3f), new InkTint(inks[4], 1));
InkAppearance? onScreen = shadow.Appearance;   // CMYK 0, 1, 0.81, 0.328: the spot's look printed over the black