DeviceNColorSpace
Overview
DeviceNColorSpace is a class in Aspose.Pdf FOSS for Java.
Inherits from: ColorSpaceBase.
DeviceN color space (ISO 32000-1:2008, §8.6.6.5).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | |
numberOfComponents | int | Read | |
colorantNames | String[] | Read | Returns the colorant names. |
alternateCS | ColorSpaceBase | Read | Returns the alternate (fallback) color space. |
tintTransform | PdfFunction | Read | Returns the tint transform function. |
Methods
| Signature | Description |
|---|---|
DeviceNColorSpace(colorantNames: String[], alternateCS: ColorSpaceBase, tintTransform: PdfFunction) | Creates a DeviceN color space. |
fromArray(arr: COSArray, resources: Resources, parser: PDFParser) → DeviceNColorSpace | Parses a DeviceN color space from a COS array. |
tintsToAlternate(tints: double[]) → double[] | Converts N tint values to alternate color space components. |
getName() → String | |
getNumberOfComponents() → int | |
getColorantNames() → String[] | Returns the colorant names. |
getAlternateCS() → ColorSpaceBase | Returns the alternate (fallback) color space. |
getTintTransform() → PdfFunction | Returns the tint transform function. |
resolve(csObj: COSBase, resources: Resources, parser: PDFParser) → ColorSpaceBase | Resolves a color space from a PDF object. |