LabColorSpace
Overview
LabColorSpace is a class in Aspose.Pdf FOSS for Java.
Inherits from: ColorSpaceBase.
Lab color space (ISO 32000-1:2008, §8.6.5.4).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | |
numberOfComponents | int | Read | |
range | double[] | Read | Returns the ab range [amin, amax, bmin, bmax]. |
Methods
| Signature | Description |
|---|---|
LabColorSpace(params: COSDictionary) | Creates a Lab color space from its parameter dictionary. |
toRGB(lStar: double, aStar: double, bStar: double) → double[] | Converts Lab values to sRGB components. |
getName() → String | |
getNumberOfComponents() → int | |
getRange() → double[] | Returns the ab range [amin, amax, bmin, bmax]. |
resolve(csObj: COSBase, resources: Resources, parser: PDFParser) → ColorSpaceBase | Resolves a color space from a PDF object. |