Color32🔗
-
class
visionappster.
Color32
🔗 A wrapper for the va_color32 C type.
-
__init__
(*args, **kwargs)🔗 Overloaded function.
init(self: visionappster.Color32) -> None
Creates a black color.
init(self: visionappster.Color32, red: int, green: int, blue: int) -> None
Initializes an RGB color object with the given color channel values.
init(self: visionappster.Color32, red: int, green: int, blue: int, alpha: int) -> None
Initializes an RGBA color object with the given color channel and alpha values.
init(self: visionappster.Color32, arg0: object) -> None
-
property
alpha
🔗 The alpha value.
-
property
argb
🔗 The color packed into an unsigned 32-bit integer.
-
property
blue
🔗 The blue color channel.
-
property
gray
🔗 The average of all three color channels. Setting gray changes all color channels to the same value.
-
property
green
🔗 The green color channel.
-
property
red
🔗 The red color channel.
-
property
rgb
🔗 The color packed into an unsigned 32-bit integer. The alpha channel is set to 255.
-