Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Control
Key
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Paint.Color (gb.qt4)

Static Function Color ( Color As Integer ) As PaintBrush

Creates a new brush corresponding to an opaque or translucent color.

The color is defined the same way as in GUI components: an hexadecimal integer &HAARRGGBB where AA is the alpha component, RR the red component, GG the green component and BB the blue component.

The value of each component is in the range 0 to 255. Beware that AA is 0 for fully opaque colors and 255 for fully transparent ones.