|
def | __init__ |
|
def | r (self) |
|
def | setR (self, value) |
|
def | g (self) |
|
def | setG (self, value) |
|
def | b (self) |
|
def | setB (self, value) |
|
def | a (self) |
|
def | setA (self, value) |
|
def | setValues (self, r, g, b, a) |
|
def | get32BitValue (self) |
|
def | __eq__ (self, other) |
|
def | __hash__ (self) |
|
def | __repr__ (self) |
|
|
def | fromARGB (value) |
|
def | fromARGBLowBits (value) |
|
def | fromARGBHighBits (value) |
|
def | dropLowBits (color) |
|
def | dropHightBits (color) |
|
def | fromHexString (value) |
|
An RGBA color value.
This class represents an RGBA color value, in the range of 0.0 to 1.0.
def UM.Math.Color.Color.fromARGB |
( |
|
value | ) |
|
|
static |
Returns a new Color constructed from a 32-bit integer in ARGB order.
:param value: A 32-bit integer representing a color in ARGB order.
:return: A Color constructed from the components of value.
def UM.Math.Color.Color.fromHexString |
( |
|
value | ) |
|
|
static |
Returns a new Color constructed from a 7- or 9-character string "#RRGGBB" or "#AARRGGBB" format.
:param value: A 7- or 9-character string representing a color in "#RRGGBB" or "#AARRGGBB" format.
:return: A Color constructed from the components of value.
The documentation for this class was generated from the following file: