pango.color

Module for [Color] struct

struct Color

Types 1

structColor

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

Fields
ushort redvalue of red component
ushort greenvalue of green component
ushort bluevalue of blue component
Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
void * boxCopy() nothrow
pango.color.Color copy() nothrowCreates a copy of src.
bool parse(string spec) nothrowFill in the fields of a color from a string specification.
bool parseWithAlpha(out ushort alpha, string spec) nothrowFill in the fields of a color from a string specification.
string toString_() nothrowReturns a textual specification of color.