DeviceNColorSpace

DeviceNColorSpace

Overview

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

设备N 的颜色空间 (ISO 32000-1:2008,8.6.6.5).

本类提供了10种方法,用于在Java程序中使用DeviceNColorSpace对象. 有的方法包括: DeviceNColorSpace, fromArray, getAlternateCS, getColorantNames, getName, getNumberOfComponents, getTintTransform, resolve, tintsToAlternate, toRGBInt. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: alternateCS, colorantNames, name, numberOfComponents, tintTransform.

Properties

NameTypeAccessDescription
nameStringRead得到了这个名字.
numberOfComponentsintRead得到了组件数.
colorantNamesString[]Read返回颜料名称.
alternateCSColorSpaceBaseRead返回替代 (倒退) 色空间.
tintTransformPdfFunctionRead返回色调变换函数.

Methods

SignatureDescription
DeviceNColorSpace(colorantNames: String[], alternateCS: ColorSpaceBase, tintTransform: PdfFunction)创建一个DeviceN的颜色空间.
fromArray(arr: PdfArray, resources: Resources, parser: PDFParser)DeviceNColorSpace解析一个PDF阵列中的DeviceN颜色空间.
tintsToAlternate(tints: double[])double[]将N色值转换为替代颜色空间组件.
getName()String返回名称.
getNumberOfComponents()int返回组件数量.
toRGBInt(comps: double[])int染色体 →替代组件 (通过调色转换) →代替的RGB.
getColorantNames()String[]返回颜料名称.
getAlternateCS()ColorSpaceBase返回替代 (倒退) 色空间.
getTintTransform()PdfFunction返回色调变换函数.
resolve(csObj: PdfBase, resources: Resources, parser: PDFParser)ColorSpaceBase

See Also

 中文