DeviceNColorSpace

DeviceNColorSpace

Overview

DeviceNColorSpace là một lớp trong Aspose.PDF FOSS cho Java. Dòng thừa kế từ: ColorSpaceBase.

Thiết bịN không gian màu (ISO 32000-1:2008, §8.6.5.).

Khóa học này cung cấp 10 phương pháp để làm việc với DeviceNColorSpace đối tượng trong các chương trình Java. Các phương pháp có sẵn bao gồm: DeviceNColorSpace, fromArray, getAlternateCS, getColorantNames, getName, getNumberOfComponents, getTintTransform, resolve, tintsToAlternate, toRGBInt. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.PDF FOSS cho gói Java. Tài sản : alternateCS, colorantNames, name, numberOfComponents, tintTransform.

Properties

NameTypeAccessDescription
nameStringReadnhận được tên.
numberOfComponentsintReadNhận số lượng các thành phần.
colorantNamesString[]ReadTrở lại tên đầy màu sắc.
alternateCSColorSpaceBaseReadTrở lại không gian màu thay thế (fallback).
tintTransformPdfFunctionReadTrở lại chức năng chuyển đổi màu sắc.

Methods

SignatureDescription
DeviceNColorSpace(colorantNames: String[], alternateCS: ColorSpaceBase, tintTransform: PdfFunction)Tạo một không gian màu DeviceN.
fromArray(arr: PdfArray, resources: Resources, parser: PDFParser)DeviceNColorSpaceTải một không gian màu DeviceN từ một file PDF.
tintsToAlternate(tints: double[])double[]Chuyển đổi các giá trị màu N để thay thế các thành phần không gian màu.
getName()StringQuay lại tên.
getNumberOfComponents()intTrả lại số lượng các thành phần.
toRGBInt(comps: double[])intTints → thay thế thành phần (via tint transform) → RGB của alternate.
getColorantNames()String[]Trở lại tên đầy màu sắc.
getAlternateCS()ColorSpaceBaseTrở lại không gian màu thay thế (fallback).
getTintTransform()PdfFunctionTrở lại chức năng chuyển đổi màu sắc.
resolve(csObj: PdfBase, resources: Resources, parser: PDFParser)ColorSpaceBase

See Also

 Tiếng Việt