:right-sidebar: True Easing =================================================================== .. currentmodule:: gi.repository.Adw .. class:: Easing :no-contents-entry: Describes the available easing functions for use with :obj:`~gi.repository.Adw.TimedAnimation`\. New values may be added to this enumeration over time. Methods ------- .. rst-class:: interim-class .. class:: Easing :no-index: .. method:: ease(value: float) -> float Computes easing with ``easing`` for ``value``\. ``value`` should generally be in the [0, 1] range. :param value: a value to ease Fields ------ .. rst-class:: interim-class .. class:: Easing :no-index: .. attribute:: EASE Cubic bezier tweening, with control points in (0.25, 0.1) and (0.25, 1.0). Increases in velocity towards the middle of the animation, slowing back down at the end. .. versionadded:: 1.7 .. attribute:: EASE_IN Cubic bezier tweening, with control points in (0.42, 0.0) and (1.0, 1.0). Starts off slowly, with the speed of the animation increasing until complete. .. versionadded:: 1.7 .. attribute:: EASE_IN_BACK Overshooting cubic tweening, with backtracking on start. .. attribute:: EASE_IN_BOUNCE Exponentially decaying parabolic (bounce) tweening, on start. .. attribute:: EASE_IN_CIRC Circular tweening. .. attribute:: EASE_IN_CUBIC Cubic tweening. .. attribute:: EASE_IN_ELASTIC Elastic tweening, with offshoot on start. .. attribute:: EASE_IN_EXPO Exponential tweening. .. attribute:: EASE_IN_OUT Cubic bezier tweening, with control points in (0.42, 0.0) and (0.58, 1.0). Starts off slowly, speeds up in the middle, and then slows down again. .. versionadded:: 1.7 .. attribute:: EASE_IN_OUT_BACK Overshooting cubic tweening, with backtracking on both ends, combining :obj:`~gi.repository.Adw.Easing.ease-in-back` and :obj:`~gi.repository.Adw.Easing.ease-out-back`\. .. attribute:: EASE_IN_OUT_BOUNCE Exponentially decaying parabolic (bounce) tweening, with bounce on both ends, combining :obj:`~gi.repository.Adw.Easing.ease-in-bounce` and :obj:`~gi.repository.Adw.Easing.ease-out-bounce`\. .. attribute:: EASE_IN_OUT_CIRC Circular tweening, combining :obj:`~gi.repository.Adw.Easing.ease-in-circ` and :obj:`~gi.repository.Adw.Easing.ease-out-circ`\. .. attribute:: EASE_IN_OUT_CUBIC Cubic tweening, combining :obj:`~gi.repository.Adw.Easing.ease-in-cubic` and :obj:`~gi.repository.Adw.Easing.ease-out-cubic`\. .. attribute:: EASE_IN_OUT_ELASTIC Elastic tweening, with offshoot on both ends, combining :obj:`~gi.repository.Adw.Easing.ease-in-elastic` and :obj:`~gi.repository.Adw.Easing.ease-out-elastic`\. .. attribute:: EASE_IN_OUT_EXPO Exponential tweening, combining :obj:`~gi.repository.Adw.Easing.ease-in-expo` and :obj:`~gi.repository.Adw.Easing.ease-out-expo`\. .. attribute:: EASE_IN_OUT_QUAD Quadratic tweening, combining :obj:`~gi.repository.Adw.Easing.ease-in-quad` and :obj:`~gi.repository.Adw.Easing.ease-out-quad`\. .. attribute:: EASE_IN_OUT_QUART Quartic tweening, combining :obj:`~gi.repository.Adw.Easing.ease-in-quart` and :obj:`~gi.repository.Adw.Easing.ease-out-quart`\. .. attribute:: EASE_IN_OUT_QUINT Quintic tweening, combining :obj:`~gi.repository.Adw.Easing.ease-in-quint` and :obj:`~gi.repository.Adw.Easing.ease-out-quint`\. .. attribute:: EASE_IN_OUT_SINE Sine wave tweening, combining :obj:`~gi.repository.Adw.Easing.ease-in-sine` and :obj:`~gi.repository.Adw.Easing.ease-out-sine`\. .. attribute:: EASE_IN_QUAD Quadratic tweening. .. attribute:: EASE_IN_QUART Quartic tweening. .. attribute:: EASE_IN_QUINT Quintic tweening. .. attribute:: EASE_IN_SINE Sine wave tweening. .. attribute:: EASE_OUT Cubic bezier tweening, with control points in (0.0, 0.0) and (0.58, 1.0). Starts quickly, slowing down the animation until complete. .. versionadded:: 1.7 .. attribute:: EASE_OUT_BACK Overshooting cubic tweening, with backtracking on end, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-back`\. .. attribute:: EASE_OUT_BOUNCE Exponentially decaying parabolic (bounce) tweening, with bounce on end, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-bounce`\. .. attribute:: EASE_OUT_CIRC Circular tweening, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-circ`\. .. attribute:: EASE_OUT_CUBIC Cubic tweening, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-cubic`\. .. attribute:: EASE_OUT_ELASTIC Elastic tweening, with offshoot on end, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-elastic`\. .. attribute:: EASE_OUT_EXPO Exponential tweening, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-expo`\. .. attribute:: EASE_OUT_QUAD Quadratic tweening, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-quad`\. .. attribute:: EASE_OUT_QUART Quartic tweening, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-quart`\. .. attribute:: EASE_OUT_QUINT Quintic tweening, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-quint`\. .. attribute:: EASE_OUT_SINE Sine wave tweening, inverse of :obj:`~gi.repository.Adw.Easing.ease-in-sine`\. .. attribute:: LINEAR Linear tweening.