SeparationColorSpace
Overview
SeparationColorSpace is a class in Aspose.Pdf FOSS for Java.
Inherits from: ColorSpaceBase.
Separation color space (ISO 32000-1:2008, §8.6.6.4).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | String | Read | |
numberOfComponents | int | Read | |
colorantName | String | Read | Returns the colorant name. |
alternateCS | ColorSpaceBase | Read | Returns the alternate (fallback) color space. |
tintTransform | PdfFunction | Read | Returns the tint transform function. |
Methods
| Signature | Description |
|---|---|
SeparationColorSpace(colorantName: String, alternateCS: ColorSpaceBase, tintTransform: PdfFunction) | Creates a Separation color space. |
fromArray(arr: COSArray, resources: Resources, parser: PDFParser) → SeparationColorSpace | Parses a Separation color space from a COS array. |
tintToAlternate(tint: double) → double[] | Converts a tint value (0..1) to alternate color space components. |
getName() → String | |
getNumberOfComponents() → int | |
getColorantName() → String | Returns the colorant name. |
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. |