microGUI.Drawing.Color
Classes
Collection of standard colors for use by a Galaxie microGUI application |
|
Internal storage for store what is a color |
|
Represents an ARGB (alpha, red, green, blue) color. |
Module Contents
- class microGUI.Drawing.Color.eColors
Collection of standard colors for use by a Galaxie microGUI application
See also
microGUI.Widgets.Basic.Basic.ColormicroGUI.Widgets.Basic.Basic.LightFillColormicroGUI.Widgets.Basic.Basic.DarkFillColormicroGUI.Widgets.Basic.Basic.LightBevelColormicroGUI.Widgets.Basic.Basic.DarkBevelColor
- class microGUI.Drawing.Color.ColorBase
Internal storage for store what is a color
- R: microGUI.Types.Color.ColorType = 8
- G: microGUI.Types.Color.ColorType = 8
- B: microGUI.Types.Color.ColorType = 8
- A: microGUI.Types.Color.ColorType = 8
- class microGUI.Drawing.Color.Color(argb: int or ColorType = Colors.Black)
Represents an ARGB (alpha, red, green, blue) color.
- Colors
- ColorBase
- classmethod FromRGB(red: int, green: int, blue: int)
Creates a Color structure from a tuple like (r, g, b) in that case valid int values are 0 through 255
The alpha value is implicitly 255 (fully opaque).
See also
- classmethod FromARGB(argb: int or tuple)
- Options
Creates a Color structure from a 32-bit ARGB
Creates a Color structure from a tuple like (a, r, g, b) in that case valid int values are 0 through 255
Attention
The byte-ordering of the 32-bit ARGB value is AARRGGBB. The most significant byte (MSB), represented by AA, is the alpha component value. The second, third, and fourth bytes, represented by RR, GG, and BB, respectively, are the color components red, green, and blue, respectively.
See also
- classmethod FromCMYK(cyan: int, magenta: int, yellow: int, key: int)
Creates a Color class from the specified 8-bit color values (cyan, magenta, yellow and key pate (black)). The alpha value is implicitly 255 (fully opaque).
See also
- Parameters:
- Returns:
The
Colorthat this method creates.- Return type: