ColorSpace Class Documentation

classColorSpace

Namespace:com::datalogics::PDFL

Derived classes:
CalGrayColorSpace, CalRGBColorSpace, DeviceNColorSpace, ICCBasedColorSpace, IndexedColorSpace, LabColorSpace, NamedColorSpace, SeparationColorSpace

Detailed Description

Base class for all color spaces.

Member Function Documentation

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

equals

booleanequals(Objectrhs)

Parameters

rhs: Object

Returns:

boolean

finalize

voidfinalize()

Returns:

void

getName

StringgetName()

Returns:

String

The name of the color space. A named color space may be named something like DeviceRGB. More complicated color spaces may have a name like Indexed or ICCBased.

getNumComponents

intgetNumComponents()

Returns:

int

The number of components in the color space.

getPDFObject

PDFObjectgetPDFObject()

Returns:

The PDFObject associated with the color space.

Get the PDFObject associated with the color space. This may be a PDFName, PDFDict, PDFStream, or PDFArray.

sameTypeEquals

booleansameTypeEquals(ColorSpaceother)

Parameters

other: ColorSpace

Returns:

boolean

toString

StringtoString()

Returns:

String

Convert a colorSpace to a string.