Color

The pango.color.Color structure is used to represent a color in an uncalibrated RGB color-space.

Members

Functions

copy
pango.color.Color copy()

Creates a copy of src.

parse
bool parse(string spec)

Fill in the fields of a color from a string specification.

parseWithAlpha
bool parseWithAlpha(ushort alpha, string spec)

Fill in the fields of a color from a string specification.

toString_
string toString_()

Returns a textual specification of color.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.