NamedColorSpace Class Documentation
classNamedColorSpace : ColorSpaceNamespace: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(NamedColorSpacerhs, InternalConstructsignifier)Parameters
rhs: NamedColorSpacesignifier: InternalConstruct
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, boolarg1)Parameters
name: stringarg1: bool
Special constructor with bool flag; calling this one makes a global named color space. Used in the ColorSpace class constructor in Java.
Property Documentation
DeviceCMYK
static ColorSpaceDeviceCMYK[get]The DeviceCMYK color space, representing cyan, magenta, yellow, and black components.
DeviceGray
static ColorSpaceDeviceGray[get]The DeviceGray color space, representing a single grayscale component.
DeviceRGB
static ColorSpaceDeviceRGB[get]The DeviceRGB color space, representing red, green, and blue components.
DeviceRGBA
static ColorSpaceDeviceRGBA[get]The DeviceRGBA color space, representing red, green, blue, and alpha components.
Lab
static ColorSpaceLab[get]The CIE-based L*a*b* color space.
LabA
static ColorSpaceLabA[get]The CIE-based L*a*b* color space with an alpha component.
Name
stringName[get]NumComponents
intNumComponents[get]PDFObject
PDFObjectPDFObject[get]Member Function Documentation
ConstructorRetrieve
static new static NamedColorSpaceConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
new static NamedColorSpaceDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidEquals
override boolEquals(objectobj)Parameters
obj: object
Returns:
override boolMakeDeviceCMYK
static NamedColorSpaceMakeDeviceCMYK()Returns:
A new NamedColorSpace for DeviceCMYK (4 components).Creates a NamedColorSpace representing the DeviceCMYK color space.
MakeDeviceGray
static NamedColorSpaceMakeDeviceGray()Returns:
A new NamedColorSpace for DeviceGray (1 component).Creates a NamedColorSpace representing the DeviceGray color space.
MakeDeviceRGB
static NamedColorSpaceMakeDeviceRGB()Returns:
A new NamedColorSpace for DeviceRGB (3 components).Creates a NamedColorSpace representing the DeviceRGB color space.
MakeDeviceRGBA
static NamedColorSpaceMakeDeviceRGBA()Returns:
A new NamedColorSpace for DeviceRGBA (4 components: red, green, blue, alpha).Creates a NamedColorSpace representing the DeviceRGBA color space.
SameTypeEquals
boolSameTypeEquals(ColorSpaceother)Parameters
other: ColorSpace
Returns:
boolSameTypeEquals
boolSameTypeEquals(NamedColorSpaceother)Parameters
other: NamedColorSpace
Returns:
boolToString
override stringToString()Returns:
A string describing this ColorSpace.Convert a ColorSpace to a string representation.
operator!=
static booloperator!=(ColorSpacea, ColorSpaceb)Parameters
a: ColorSpaceThe first ColorSpace to compare.
b: ColorSpaceThe second ColorSpace to compare.
Returns:
true if the two ColorSpace objects are not equal; false otherwise.Test two ColorSpace objects for inequality.
operator==
static booloperator==(ColorSpacea, ColorSpaceb)Parameters
a: ColorSpaceThe first ColorSpace to compare.
b: ColorSpaceThe second ColorSpace to compare.
Returns:
true if the two ColorSpace objects are equal; false otherwise.Test two ColorSpace objects for equality.