DeviceRGB

Overview

DeviceRGB 是一个类在Java的FOSS中. 继承人: ColorSpaceBase.

设备RGB颜色空间 (ISO 32000-1:2008,8.6.4.3).

本类提供了4种方法,用于在Java程序中使用DeviceRGB对象. 有的方法包括: getName, getNumberOfComponents, resolve, toRGBInt. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: INSTANCE, name, numberOfComponents.

Properties

NameTypeAccessDescription
nameStringRead得到了这个名字.
numberOfComponentsintRead得到了组件数.
INSTANCEDeviceRGBRead单人实例.

Methods

SignatureDescription
getName()String返回名称.
getNumberOfComponents()int返回组件数量.
toRGBInt(r: double, g: double, b: double)int将RGB组件 [0..1]转换为一个包装的ARGB int.
resolve(csObj: PdfBase, resources: Resources, parser: PDFParser)ColorSpaceBase

See Also

 中文