DeviceNColorSpace

DeviceNColorSpace

Overview

DeviceNColorSpace is a class in Aspose.Pdf FOSS for Java. Inherits from: ColorSpaceBase.

DeviceN color space (ISO 32000-1:2008, §8.6.6.5).

Properties

NameTypeAccessDescription
nameStringRead
numberOfComponentsintRead
colorantNamesString[]ReadReturns the colorant names.
alternateCSColorSpaceBaseReadReturns the alternate (fallback) color space.
tintTransformPdfFunctionReadReturns the tint transform function.

Methods

SignatureDescription
DeviceNColorSpace(colorantNames: String[], alternateCS: ColorSpaceBase, tintTransform: PdfFunction)Creates a DeviceN color space.
fromArray(arr: COSArray, resources: Resources, parser: PDFParser)DeviceNColorSpaceParses a DeviceN color space from a COS array.
tintsToAlternate(tints: double[])double[]Converts N tint values to alternate color space components.
getName()String
getNumberOfComponents()int
getColorantNames()String[]Returns the colorant names.
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