DeviceNColorSpace
Overview
DeviceNColorSpace Java için Aspose.PDF FOSS sınıfıdır. Mirasçılardan gelenler: ColorSpaceBase.
DeviceN renk alanı (ISO 32000-1:2008, §8.6.5. ).
Bu sınıf, Java programlarında DeviceNColorSpace nesneleriyle çalışmak için 10 yöntem sunar. Mevcut yöntemler şunları içerir: DeviceNColorSpace, fromArray, getAlternateCS, getColorantNames, getName, getNumberOfComponents, getTintTransform, resolve, tintsToAlternate, toRGBInt. Tüm kamu üyeleri, Java paket için Aspose.PDF FOSS’u yükledikten sonra herhangi bir Java uygulamasına erişilebilir. Mülkiyet : alternateCS, colorantNames, name, numberOfComponents, tintTransform.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | Adını alır. |
numberOfComponents | int | Read | bileşen sayısını belirler. |
colorantNames | String[] | Read | Renkli isimleri geri getirir. |
alternateCS | ColorSpaceBase | Read | Renk alanı (fallback) değiştirilmiştir. |
tintTransform | PdfFunction | Read | Tint transform fonksiyonu geri getirir. |
Methods
| Signature | Description |
|---|---|
DeviceNColorSpace(colorantNames: String[], alternateCS: ColorSpaceBase, tintTransform: PdfFunction) | DeviceN renk alanı oluşturur. |
fromArray(arr: PdfArray, resources: Resources, parser: PDFParser) → DeviceNColorSpace | Bir PDF aralığından bir DeviceN renk alanı ayırır. |
tintsToAlternate(tints: double[]) → double[] | N renk değerlerini renk alanı bileşenlerini değiştirmek için dönüştürür. |
getName() → String | Adını geri getiriyor. |
getNumberOfComponents() → int | Parça sayısını geri getirir. |
toRGBInt(comps: double[]) → int | Tint → alternate bileşenleri (tint transform yoluyla) → alternatif RGB. |
getColorantNames() → String[] | Renkli isimleri geri getirir. |
getAlternateCS() → ColorSpaceBase | Renk alanı (fallback) değiştirilmiştir. |
getTintTransform() → PdfFunction | Tint transform fonksiyonu geri getirir. |
resolve(csObj: PdfBase, resources: Resources, parser: PDFParser) → ColorSpaceBase |