ColorSpaceBase
Overview
ColorSpaceBase is a class in Aspose.Pdf FOSS for Java.
Abstract base for all PDF color spaces (ISO 32000-1:2008, §8.6).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | Returns the color space name (e.g., “DeviceRGB”, “ICCBased”, “Indexed”). |
numberOfComponents | int | Read | Returns the number of color components in this color space. |
Methods
| Signature | Description |
|---|---|
getName() → String | Returns the color space name (e.g., “DeviceRGB”, “ICCBased”, “Indexed”). |
getNumberOfComponents() → int | Returns the number of color components in this color space. |
resolve(csObj: COSBase, resources: Resources, parser: PDFParser) → ColorSpaceBase | Resolves a color space from a PDF object. |