EasingCurve: QtObject

import Quickshell

Easing curve. More

Properties

Functions

Detailed Description

Directly accessible easing curve as used in property animations.

Property Details

curve: unknown

Easing curve settings. Works exactly the same as PropertyAnimation.easing.

Function Details

real interpolate(x: real, a: real, b: real)

Interpolates between two values using the given X coordinate.

point interpolate(x: real, a: point, b: point)

Interpolates between two points using the given X coordinate.

rect interpolate(x: real, a: rect, b: rect)

Interpolates two rects using the given X coordinate.

real valueAt(x: real)

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