: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(self: ~gi.repository.Adw.Easing, 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_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_BACK Overshooting cubic tweening, with backtracking on both ends, combining ``ADW_EASE_IN_BACK`` and ``ADW_EASE_OUT_BACK``. .. attribute:: EASE_IN_OUT_BOUNCE Exponentially decaying parabolic (bounce) tweening, with bounce on both ends, combining ``ADW_EASE_IN_BOUNCE`` and ``ADW_EASE_OUT_BOUNCE``. .. attribute:: EASE_IN_OUT_CIRC Circular tweening, combining ``ADW_EASE_IN_CIRC`` and ``ADW_EASE_OUT_CIRC``. .. attribute:: EASE_IN_OUT_CUBIC Cubic tweening, combining ``ADW_EASE_IN_CUBIC`` and ``ADW_EASE_OUT_CUBIC``. .. attribute:: EASE_IN_OUT_ELASTIC Elastic tweening, with offshoot on both ends, combining ``ADW_EASE_IN_ELASTIC`` and ``ADW_EASE_OUT_ELASTIC``. .. attribute:: EASE_IN_OUT_EXPO Exponential tweening, combining ``ADW_EASE_IN_EXPO`` and ``ADW_EASE_OUT_EXPO``. .. attribute:: EASE_IN_OUT_QUAD Quadratic tweening, combining ``ADW_EASE_IN_QUAD`` and ``ADW_EASE_OUT_QUAD``. .. attribute:: EASE_IN_OUT_QUART Quartic tweening, combining ``ADW_EASE_IN_QUART`` and ``ADW_EASE_OUT_QUART``. .. attribute:: EASE_IN_OUT_QUINT Quintic tweening, combining ``ADW_EASE_IN_QUINT`` and ``ADW_EASE_OUT_QUINT``. .. attribute:: EASE_IN_OUT_SINE Sine wave tweening, combining ``ADW_EASE_IN_SINE`` and ``ADW_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_BACK Overshooting cubic tweening, with backtracking on end, inverse of ``ADW_EASE_IN_BACK``. .. attribute:: EASE_OUT_BOUNCE Exponentially decaying parabolic (bounce) tweening, with bounce on end, inverse of ``ADW_EASE_IN_BOUNCE``. .. attribute:: EASE_OUT_CIRC Circular tweening, inverse of ``ADW_EASE_IN_CIRC``. .. attribute:: EASE_OUT_CUBIC Cubic tweening, inverse of ``ADW_EASE_IN_CUBIC``. .. attribute:: EASE_OUT_ELASTIC Elastic tweening, with offshoot on end, inverse of ``ADW_EASE_IN_ELASTIC``. .. attribute:: EASE_OUT_EXPO Exponential tweening, inverse of ``ADW_EASE_IN_EXPO``. .. attribute:: EASE_OUT_QUAD Quadratic tweening, inverse of ``ADW_EASE_IN_QUAD``. .. attribute:: EASE_OUT_QUART Quartic tweening, inverse of ``ADW_EASE_IN_QUART``. .. attribute:: EASE_OUT_QUINT Quintic tweening, inverse of ``ADW_EASE_IN_QUINT``. .. attribute:: EASE_OUT_SINE Sine wave tweening, inverse of ``ADW_EASE_IN_SINE``. .. attribute:: LINEAR Linear tweening.