CalRGBColorSpace

CalRGBColorSpace

Overview

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

CalRGB color space (ISO 32000-1:2008, §8.6.5.3).

Properties

NameTypeAccessDescription
nameStringRead
numberOfComponentsintRead

Methods

SignatureDescription
CalRGBColorSpace(params: COSDictionary)Creates a CalRGB color space from its parameter dictionary.
toRGB(r: double, g: double, b: double)double[]Converts CalRGB values (each 0..1) to sRGB components.
getName()String
getNumberOfComponents()int
resolve(csObj: COSBase, resources: Resources, parser: PDFParser)ColorSpaceBaseResolves a color space from a PDF object.

See Also