Auf dieser Seite

PathSvg QML Type

Definiert einen Pfad mithilfe einer SVG-Pfaddatenzeichenfolge. Mehr...

Import Statement: import QtQuick

Eigenschaften

Ausführliche Beschreibung

Der folgende QML-Code erzeugt den unten gezeigten Pfad:

Mit SVG-Pfadbefehlen gezeichnetes Dreieck

Path {
    startX: 50; startY: 50
    PathSvg { path: "L 150 50 L 100 150 z" }
}

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

Dokumentation zu Eigenschaften

path : string

Die SVG-Pfaddatenzeichenfolge, die den Pfad angibt.

Weitere Informationen zu diesem Format finden Sie unter „W3C SVG Path Data “.

© 2026 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.