SeparationColorSpace

SeparationColorSpace

Overview

SeparationColorSpace is a class in Aspose.PDF FOSS for Java. Inherits from: ColorSpaceBase.

Separation color space (ISO 32000-1:2008, §8.6.6.4).

This class provides 10 methods for working with SeparationColorSpace objects in Java programs. Available methods include: SeparationColorSpace, fromArray, getAlternateCS, getColorantName, getName, getNumberOfComponents, getTintTransform, resolve, tintToAlternate, toRGBInt. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: alternateCS, colorantName, name, numberOfComponents, tintTransform.

Properties

NameTypeAccessDescription
nameStringReadGets the name.
numberOfComponentsintReadGets the number of components.
colorantNameStringReadReturns the colorant name.
alternateCSColorSpaceBaseReadReturns the alternate (fallback) color space.
tintTransformPdfFunctionReadReturns the tint transform function.

Methods

SignatureDescription
SeparationColorSpace(colorantName: String, alternateCS: ColorSpaceBase, tintTransform: PdfFunction)Creates a Separation color space.
fromArray(arr: PdfArray, resources: Resources, parser: PDFParser)SeparationColorSpaceParses a Separation color space from a PDF array.
tintToAlternate(tint: double)double[]Converts a tint value (0..1) to alternate color space components.
getName()StringReturns the name.
getNumberOfComponents()intReturns the number of components.
toRGBInt(comps: double[])intTint → alternate components (via tint transform) → alternate’s RGB.
getColorantName()StringReturns the colorant name.
getAlternateCS()ColorSpaceBaseReturns the alternate (fallback) color space.
getTintTransform()PdfFunctionReturns the tint transform function.
resolve(csObj: PdfBase, resources: Resources, parser: PDFParser)ColorSpaceBase

See Also

 English