movis.ops.fade_out#
- movis.ops.fade_out(layer: BasicLayer, duration: float = 0.0, size: tuple[int, int] | None = None, bg_color: tuple[int, int, int] | str | None = None) Composition[source]#
- Fade out a layer. - Args:
- layer:
- Layer to fade out. 
- duration:
- Duration of the fade-out effect. 
- size:
- Size of the composition. If - None, the size of the layer is estimated.
- bg_color:
- Background color. If - None, the background is transparent.