EasingCurve: QtObject
import Quickshell
Easing curve. More
Properties
- curve: unknown
Functions
- real interpolate(x: real, a: real, b: real)
- point interpolate(x: real, a: point, b: point)
- rect interpolate(x: real, a: rect, b: rect)
- real valueAt(x: real)
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
Interpolates between two values using the given X coordinate.
Interpolates between two points using the given X coordinate.
Interpolates two rects using the given X coordinate.
Returns the Y value for the given X value on the curve from 0.0 to 1.0.