NamedColorSpace Class Documentation

classNamedColorSpace : ColorSpace

Namespace:Datalogics::PDFL

Inherits from:
ColorSpace

Detailed Description

Class used to define the color space in use.

Referenced by

Constructor & Destructor Documentation

NamedColorSpace

NamedColorSpace(NamedColorSpacerhs, InternalConstructsignifier)

Parameters

signifier: InternalConstruct

NamedColorSpace

NamedColorSpace(stringname)

Parameters

name: string

the name of the color space.

Create a named color space with the given name, e.g. DeviceRGB

NamedColorSpace

NamedColorSpace(stringname, boolarg1)

Parameters

name: string
arg1: 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 NamedColorSpace

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

Equals

override boolEquals(objectobj)

Parameters

obj: object

Returns:

override bool

MakeDeviceCMYK

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.

ToString

override stringToString()

Returns:

A string describing this ColorSpace.

Convert a ColorSpace to a string representation.

operator!=

static booloperator!=(ColorSpacea, ColorSpaceb)

Parameters

a: ColorSpace

The first ColorSpace to compare.

b: ColorSpace

The 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: ColorSpace

The first ColorSpace to compare.

b: ColorSpace

The second ColorSpace to compare.

Returns:

true if the two ColorSpace objects are equal; false otherwise.

Test two ColorSpace objects for equality.