PathQuad QML Type

Definiert eine quadratische Bezier-Kurve mit einem Kontrollpunkt. Mehr...

Import Statement: import QtQuick

Eigenschaften

Detaillierte Beschreibung

Das folgende QML erzeugt den unten gezeigten Pfad:

Path {
    startX: 0; startY: 0
    PathQuad { x: 200; y: 0; controlX: 100; controlY: 150 }
}

Siehe auch Path, PathCubic, PathLine, PathArc, PathAngleArc, PathCurve, und PathSvg.

Eigenschaft Dokumentation

x : real

y : real

Definiert den Endpunkt der Kurve.

Siehe auch relativeX und relativeY.


relativeX : real

relativeY : real

Definiert den Endpunkt der Kurve relativ zu ihrem Anfang.

Wenn für eine einzelne Achse sowohl eine relative als auch eine absolute Endposition angegeben wird, wird die relative Position verwendet.

Relative und absolute Positionen können gemischt werden, z. B. ist es zulässig, ein relatives x und ein absolutes y festzulegen.

Siehe auch x und y.


controlX : real

controlY : real

Bestimmt die Position des Kontrollpunktes.


relativeControlX : real

relativeControlY : real

Definiert die Position des Kontrollpunktes relativ zum Startpunkt der Kurve.

Wenn für eine einzelne Achse sowohl eine relative als auch eine absolute Kontrollposition angegeben wird, wird die relative Position verwendet.

Relative und absolute Positionen können gemischt werden, z. B. ist es zulässig, einen relativen Kontrollpunkt x und einen absoluten Kontrollpunkt y festzulegen.

Siehe auch controlX und controlY.


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.