NamedColorSpace Class Documentation
classNamedColorSpace : ColorSpaceNamespace:com::datalogics::PDFL
- Inherits from:
ColorSpace
Detailed Description
Class used to define the color space in use.
Referenced by
Uses types
Constructor & Destructor Documentation
NamedColorSpace
NamedColorSpace(Stringname)Parameters
name: Stringthe name of the color space.
Create a named color space with the given name, e.g. DeviceRGB
NamedColorSpace
NamedColorSpace(Stringname, booleanarg1)Parameters
name: Stringarg1: boolean
Special constructor with bool flag; calling this one makes a global named color space. Used in the ColorSpace class constructor in Java.
Member Function Documentation
DLIntern
static ColorSpaceDLIntern(ColorSpacecs)Parameters
cs: ColorSpace
Returns:
ColorSpaceDisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidequals
booleanequals(Objectrhs)Parameters
rhs: Object
Returns:
booleanfinalize
voidfinalize()Returns:
voidgetName
StringgetName()Returns:
StringThe 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:
intThe 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.
makeDeviceCMYK
static NamedColorSpacemakeDeviceCMYK()Returns:
NamedColorSpacemakeDeviceGray
static NamedColorSpacemakeDeviceGray()Returns:
NamedColorSpacemakeDeviceRGB
static NamedColorSpacemakeDeviceRGB()Returns:
NamedColorSpacemakeDeviceRGBA
static NamedColorSpacemakeDeviceRGBA()Returns:
NamedColorSpaceprivate_delete
synchronized voidprivate_delete()Returns:
synchronized voidsameTypeEquals
booleansameTypeEquals(ColorSpaceother)Parameters
other: ColorSpace
Returns:
booleansameTypeEquals
booleansameTypeEquals(NamedColorSpaceother)Parameters
other: NamedColorSpace
Returns:
booleantoString
StringtoString()Returns:
StringConvert a colorSpace to a string.