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 _gType() @property
void * boxCopy()
pango.color.Color copy()Creates a copy of src.
bool parse(string spec)Fill in the fields of a color from a string specification.
bool parseWithAlpha(out ushort alpha, string spec)Fill in the fields of a color from a string specification.
string toString_()Returns a textual specification of color.