SeparationColorSpace

SeparationColorSpace

Overview

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

Không gian màu phân biệt (ISO 32000-1:2008, §8.6.4.

Khóa học này cung cấp 10 phương pháp để làm việc với các đối tượng SeparationColorSpace trong các chương trình Java. Các phương pháp có sẵn bao gồm: SeparationColorSpace, fromArray, getAlternateCS, getColorantName, getName, getNumberOfComponents, getTintTransform, resolve, tintToAlternate, 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, colorantName, name, numberOfComponents, tintTransform.

Properties

NameTypeAccessDescription
nameStringReadnhận được tên.
numberOfComponentsintReadNhận số lượng các thành phần.
colorantNameStringReadTrở lại tên 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
SeparationColorSpace(colorantName: String, alternateCS: ColorSpaceBase, tintTransform: PdfFunction)tạo ra một không gian màu sắc tách rời.
fromArray(arr: PdfArray, resources: Resources, parser: PDFParser)SeparationColorSpaceTải một không gian màu tách rời khỏi một file PDF.
tintToAlternate(tint: double)double[]Chuyển đổi một giá trị màu (0..1) để 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[])intTint → thay thế thành phần (via tint transform) → RGB của alternate.
getColorantName()StringTrở lại tên 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