|
def | __init__ (self, c1=0, c2=0, c3=0, a=1, *mode=ColorMode.RGB) |
|
def | mode (self) |
|
def | convert (self, v) |
|
def | clone (self) |
|
def | converted (self, mode) |
|
def | to_rgb (self) |
|
def | __repr__ (self) |
|
def | component_names (self) |
|
def | __getattr__ (self, name) |
|
def | __setattr__ (self, name, value) |
|
def | __init__ (self, *components) |
|
def | __str__ (self) |
|
def | __len__ (self) |
|
def | to_list (self) |
|
def | __add__ (self, other) |
|
def | __sub__ (self, other) |
|
def | __mul__ (self, scalar) |
|
def | __truediv__ (self, scalar) |
|
def | __iadd__ (self, other) |
|
def | __isub__ (self, other) |
|
def | __imul__ (self, scalar) |
|
def | __itruediv__ (self, scalar) |
|
def | __neg__ (self) |
|
def | __getitem__ (self, key) |
|
def | __setitem__ (self, key, value) |
|
def | __eq__ (self, other) |
|
def | __abs__ (self) |
|
float | length (self) |
|
def | dot (self, other) |
|
def | lerp (self, other, t) |
|
def | x (self) |
|
def | x (self, v) |
|
def | y (self) |
|
def | y (self, v) |
|
def | z (self) |
|
def | z (self, v) |
|
def | element_scaled (self, other) |
|
def | cross (self, other) |
|
def | polar_angle (self) |
|
Definition at line 368 of file color.py.
◆ __init__()
def lottie.utils.color.Color.__init__ |
( |
|
self, |
|
|
|
c1 = 0 , |
|
|
|
c2 = 0 , |
|
|
|
c3 = 0 , |
|
|
|
a = 1 , |
|
|
* |
mode = ColorMode.RGB |
|
) |
| |
◆ __getattr__()
def lottie.utils.color.Color.__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
◆ __repr__()
def lottie.utils.color.Color.__repr__ |
( |
|
self | ) |
|
◆ __setattr__()
def lottie.utils.color.Color.__setattr__ |
( |
|
self, |
|
|
|
name, |
|
|
|
value |
|
) |
| |
◆ clone()
def lottie.utils.color.Color.clone |
( |
|
self | ) |
|
◆ component_names()
def lottie.utils.color.Color.component_names |
( |
|
self | ) |
|
◆ convert()
def lottie.utils.color.Color.convert |
( |
|
self, |
|
|
|
v |
|
) |
| |
◆ converted()
def lottie.utils.color.Color.converted |
( |
|
self, |
|
|
|
mode |
|
) |
| |
◆ mode()
def lottie.utils.color.Color.mode |
( |
|
self | ) |
|
◆ to_rgb()
def lottie.utils.color.Color.to_rgb |
( |
|
self | ) |
|
◆ components
lottie.utils.color.Color.components |
◆ Mode
The documentation for this class was generated from the following file: