movis.effect.color.FillColor#
- class movis.effect.color.FillColor(color: tuple[int, int, int] | str = (255, 255, 255))[source]#
Fill the image with the specified color while preserving the alpha channel.
- Args:
- color:
Color to fill. It can be specified as a tuple of RGB values or a string of color name.
- Animatable Attributes:
color
Methods
- get_key(time: float) tuple[Hashable, ...] #
Returns a tuple of hashable values that represent the state of the instance at a given time.
Attributes
attributes
A dictionary of attributes that are used to generate cache keys.