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

Cairo.SolidPattern (gb.cairo)

Static Function SolidPattern ( Red As Float, Green As Float, Blue As Float [ , Alpha As Float ] ) As CairoPattern

Creates a new Cairo pattern corresponding to an opaque or translucent color.

  • Red : red component of the color.

  • Green : green component of the color.

  • Blue : blue component of the color.

  • Alpha : alpha component of the color.

If Alpha is omitted, then a value of 0.0 is assumed - i.e. the color will be fully opaque.

The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.