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
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | |
numberOfComponents | int | Read |
Methods
| Signature | Description |
|---|---|
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) → ColorSpaceBase | Resolves a color space from a PDF object. |