Color(r, g, b)
Simple object that holds an RGB color. Normal of constructing this is by passing 3 channels, but you can also pass it nothing to default to black or a single int in RGB565, or Color.
Parameters:
r
[value: 0.0 ~ 1.0, type: float|Color]
g
[value: 0.0 ~ 1.0, type: float]
b
[value: 0.0 ~ 1.0, type: float]
Attributes:
r
[value: 0.0 ~ 1.0, type: float]
g
[value: 0.0 ~ 1.0, type: float]
b
[value: 0.0 ~ 1.0, type: float]
value
[value: int RGB565, type: int]
set(r, g, b)
[returns: None
]
file: src/draw/engine_color.c
landing