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

NameTypeAccessDescription
nameStringRead
numberOfComponentsintRead
INSTANCEDeviceRGBReadSingleton instance.

Methods

SignatureDescription
getName()String
getNumberOfComponents()int
toRGBInt(r: double, g: double, b: double)intConverts RGB components [0..1] to a packed ARGB int.
resolve(csObj: COSBase, resources: Resources, parser: PDFParser)ColorSpaceBaseResolves a color space from a PDF object.

See Also