ComPDFKit Web SDK
    Preparing search index...

    Interface ColorSeparation

    A color (ink) of separations: the four CMYK colors first, then spot colors; those with enabled false are not drawn

    interface ColorSeparation {
        enabled: boolean;
        isBaseColor?: boolean;
        isBaseColorUsedInDocument?: boolean | null;
        name: string;
        rgb: [number, number, number];
    }
    Index
    enabled: boolean

    Whether the ink is drawn.

    isBaseColor?: boolean

    Only with checkIfBaseColorsUsed: whether it is one of the four CMYK colors

    isBaseColorUsedInDocument?: boolean | null

    Only with checkIfBaseColorsUsed: whether the four CMYK colors are used in the document; null for non-CMYK colors

    name: string

    Ink name, such as 'Cyan' or a spot color name.

    rgb: [number, number, number]

    Display color; the engine gives 0,0,0 for spot colors