DeviceRGB
Overview
DeviceRGB is a class in Aspose.Pdf FOSS for Java.
Inherits from: ColorSpaceBase.
The DeviceRGB color space (ISO 32000-1:2008, §8.6.4.3).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | |
numberOfComponents | int | Read | |
INSTANCE | DeviceRGB | Read | Singleton instance. |
Methods
| Signature | Description |
|---|---|
getName() → String | |
getNumberOfComponents() → int | |
toRGBInt(r: double, g: double, b: double) → int | Converts RGB components [0..1] to a packed ARGB int. |
resolve(csObj: COSBase, resources: Resources, parser: PDFParser) → ColorSpaceBase | Resolves a color space from a PDF object. |