Color Class Documentation

classColor : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable

Detailed Description

A color specified by values appropriate for its color space.

The values that are offered range from 0 to 1.0 for red, green, and blue (RGB) or cyan, magenta, yellow, and black (CYMK).

Constructor & Destructor Documentation

Color

Color(Colorrhs, InternalConstructsignifier)

Parameters

rhs: Color
signifier: InternalConstruct

Color

Color(ColorSpacecolorSpace, System.Collections.Generic.IList< System.Double >values)

Parameters

colorSpace: ColorSpace

the color space in which to create the color

values: System.Collections.Generic.IList< System.Double >

the values to place into the color

Create a new color in an arbitrary color space. The number of values passed must match the number of values in the color space.

Color

Color(doublec, doublem, doubley, doublek)

Parameters

c: double

the cyan color value for the new color (0.0 - 1.0)

m: double

the magenta color value for the new color (0.0 - 1.0)

y: double

the yellow color value for the new color (0.0 - 1.0)

k: double

the black color value for the new color (0.0 - 1.0)

Create a new color in the DeviceCMYK colorspace with the specified value.

Color

Color(doublegrey)

Parameters

grey: double

the grayscale color value for the new color (0.0 - 1.0)

Create a new color in the DeviceGray colorspace with the specified value.

Color

Color(doubler, doubleg, doubleb)

Parameters

r: double

the red color value for the new color (0.0 - 1.0)

g: double

the green color value for the new color (0.0 - 1.0)

b: double

the blue color value for the new color (0.0 - 1.0)

Create a new color in the DeviceRGB colorspace with the specified value.

Color

Color(Patternpattern)

Parameters

pattern: Pattern

The pattern to turn into a color

Create a new color in the pattern color space.

~Color

~Color()

Property Documentation

Pattern

PatternPattern[get]

Space

ColorSpaceSpace[get]

Value

System.Collections.Generic.IList< System.Double >Value[get]

Member Function Documentation

ConstructorRetrieve

static ColorConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

Color

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

Equals

override boolEquals(objectobj)

Parameters

obj: object

Returns:

override bool

SameTypeEquals

boolSameTypeEquals(Colorarg0)

Parameters

arg0: Color

Returns:

bool

ToString

override stringToString()

Returns:

override string

a string representing the color