Home > comp > gb.qt4 > paint > color 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
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.