154 lines
3.2 KiB
JSON
154 lines
3.2 KiB
JSON
{
|
|
"name": "EasingCurve",
|
|
"module": "Quickshell",
|
|
"type": "class",
|
|
"super": {
|
|
"type": "qt",
|
|
"module": "qml.QtQml",
|
|
"name": "QtObject"
|
|
},
|
|
"description": "Easing curve.",
|
|
"details": "Directly accessible easing curve as used in property animations.\n",
|
|
"properties": {
|
|
"curve": {
|
|
"type": {
|
|
"type": "unknown",
|
|
"module": "",
|
|
"name": ""
|
|
},
|
|
"details": "Easing curve settings. Works exactly the same as\n[PropertyAnimation.easing](https://doc.qt.io/qt-6/qml-qtquick-propertyanimation.html#easing-prop).\n"
|
|
}
|
|
},
|
|
"functions": [
|
|
{
|
|
"ret": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
},
|
|
"name": "interpolate",
|
|
"id": "interpolate",
|
|
"details": "Interpolates between two values using the given X coordinate.\n",
|
|
"params": [
|
|
{
|
|
"name": "x",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
}
|
|
},
|
|
{
|
|
"name": "a",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
}
|
|
},
|
|
{
|
|
"name": "b",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ret": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "point"
|
|
},
|
|
"name": "interpolate",
|
|
"id": "interpolate",
|
|
"details": "Interpolates between two points using the given X coordinate.\n",
|
|
"params": [
|
|
{
|
|
"name": "x",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
}
|
|
},
|
|
{
|
|
"name": "a",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "point"
|
|
}
|
|
},
|
|
{
|
|
"name": "b",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "point"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ret": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "rect"
|
|
},
|
|
"name": "interpolate",
|
|
"id": "interpolate",
|
|
"details": "Interpolates two rects using the given X coordinate.\n",
|
|
"params": [
|
|
{
|
|
"name": "x",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
}
|
|
},
|
|
{
|
|
"name": "a",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "rect"
|
|
}
|
|
},
|
|
{
|
|
"name": "b",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "rect"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ret": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
},
|
|
"name": "valueAt",
|
|
"id": "valueAt",
|
|
"details": "Returns the Y value for the given X value on the curve\nfrom 0.0 to 1.0.\n",
|
|
"params": [
|
|
{
|
|
"name": "x",
|
|
"type": {
|
|
"type": "qt",
|
|
"module": "qml",
|
|
"name": "real"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"signals": {},
|
|
"variants": {}
|
|
} |