Table of Contents

Class SeparationColorSpaceDetails

Namespace
UglyToad.PdfPig.Graphics.Colors
Assembly
UglyToad.PdfPig.dll

A Separation color space provides a means for specifying the use of additional colorants or for isolating the control of individual color components of a device color space for a subtractive device. When such a space is the current color space, the current color is a single-component value, called a tint, that controls the application of the given colorant or color components only.

public sealed class SeparationColorSpaceDetails : ColorSpaceDetails
Inheritance
SeparationColorSpaceDetails
Inherited Members

Constructors

SeparationColorSpaceDetails(NameToken, ColorSpaceDetails, PdfFunction)

public SeparationColorSpaceDetails(NameToken name, ColorSpaceDetails alternateColorSpaceDetails, PdfFunction tintFunction)

Parameters

name NameToken
alternateColorSpaceDetails ColorSpaceDetails
tintFunction PdfFunction

Properties

AlternateColorSpace

If the colorant name associated with a Separation color space does not correspond to a colorant available on the device, the application arranges for subsequent painting operations to be performed in an alternate color space. The intended colors can be approximated by colors in a device or CIE-based color space which are then rendered with the usual primary or process colorants.

public ColorSpaceDetails AlternateColorSpace { get; }

Property Value

ColorSpaceDetails

Name

Specifies the name of the colorant that this Separation color space is intended to represent.

public NameToken Name { get; }

Property Value

NameToken

Remarks

The special colorant name All refers collectively to all colorants available on an output device, including those for the standard process colorants.

The special colorant name None never produces any visible output. Painting operations in a Separation space with this colorant name have no effect on the current page.

NumberOfColorComponents

public override int NumberOfColorComponents { get; }

Property Value

int

TintFunction

During subsequent painting operations, an application calls this function to transform a tint value into color component values in the alternate color space. The function is called with the tint value and must return the corresponding color component values. That is, the number of components and the interpretation of their values depend on the AlternateColorSpace.

public PdfFunction TintFunction { get; }

Property Value

PdfFunction

Methods

GetColor(params double[])

public override IColor GetColor(params double[] values)

Parameters

values double[]

Returns

IColor

GetInitializeColor()

public override IColor GetInitializeColor()

Returns

IColor