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).

Properties

NameTypeAccessDescription
nameStringRead
numberOfComponentsintRead
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: COSArray, resources: Resources, parser: PDFParser)SeparationColorSpaceParses a Separation color space from a COS array.
tintToAlternate(tint: double)double[]Converts a tint value (0..1) to alternate color space components.
getName()String
getNumberOfComponents()int
getColorantName()StringReturns the colorant name.
getAlternateCS()ColorSpaceBaseReturns the alternate (fallback) color space.
getTintTransform()PdfFunctionReturns the tint transform function.
resolve(csObj: COSBase, resources: Resources, parser: PDFParser)ColorSpaceBaseResolves a color space from a PDF object.

See Also