movis.effect.color.HSLShift#
- class movis.effect.color.HSLShift(hue: float = 0.0, saturation: float = 0.0, luminance: float = 0.0)[source]#
Shift hue, saturation, and luminance of the image.
- Args:
- hue:
Hue shift in degrees.
- saturation:
Saturation shift in the range
[-1, 1]
.- luminance:
Luminance shift in the range
[-1, 1]
.
- Animatable Attributes:
hue
saturation
luminance
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.