fade_inout
Functionfade_inout(
states: Union[State, List[State]],
center_t: Union[float, List[float], NoneType] = None,
hold_duration: Optional[float] = None,
fade_duration: Optional[float] = None,
easing: Optional[Dict[str, Callable[[float], float]]] = None
) -> Union[List[KeyState], List[List[KeyState]]]
Fade in, hold, then fade out.
Parameters
-
states - State to fade, or list of states
-
center_t - Center time of the hold, or list of times
-
hold_duration - Duration of the hold period
-
fade_duration - Duration of each fade (in and out)
-
easing - Optional easing dict for transitions
Returns
List of KeyState objects