Quickshell


EasingCurve: QtObject

import Quickshell

Directly accessible easing curve as used in property animations.

  • interpolate(x, a, b) real

    Property xreal Property areal Property breal

    Interpolates between two values using the given X coordinate.

  • interpolate(x, a, b) point

    Property xreal Property apoint Property bpoint

    Interpolates between two points using the given X coordinate.

  • interpolate(x, a, b) rect

    Property xreal Property arect Property brect

    Interpolates two rects using the given X coordinate.

  • valueAt(x) real

    Property xreal

    Returns the Y value for the given X value on the curve from 0.0 to 1.0.