ColorSpaceBase

ColorSpaceBase

Overview

ColorSpaceBase is a class in Aspose.Pdf FOSS for Java.

Abstract base for all PDF color spaces (ISO 32000-1:2008, §8.6).

Properties

NameTypeAccessDescription
nameStringReadReturns the color space name (e.g., “DeviceRGB”, “ICCBased”, “Indexed”).
numberOfComponentsintReadReturns the number of color components in this color space.

Methods

SignatureDescription
getName()StringReturns the color space name (e.g., “DeviceRGB”, “ICCBased”, “Indexed”).
getNumberOfComponents()intReturns the number of color components in this color space.
resolve(csObj: COSBase, resources: Resources, parser: PDFParser)ColorSpaceBaseResolves a color space from a PDF object.

See Also