In questa pagina

PathSvg QML Type

Definisce un tracciato utilizzando una stringa di dati SVG relativa al tracciato. Maggiori informazioni...

Import Statement: import QtQuick

Proprietà

Descrizione dettagliata

Il seguente codice QML genera il percorso mostrato di seguito:

Triangolo disegnato utilizzando i comandi di tracciato SVG

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

Vedi anche Path, PathLine, PathQuad, PathCubic, PathArc, PathAngleArc e PathCurve.

Documentazione sulla proprietà

path : string

La stringa di dati del percorso SVG che specifica il percorso.

Per ulteriori dettagli su questo formato, consultare la documentazione W3C sui dati del percorso SVG.

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