Cairo.ColorPattern (gb.cairo)
Static Function ColorPattern ( Color As Integer ) As CairoPattern
Creates a new
Cairo pattern 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.
See also