Sur cette page

PathSvg QML Type

Définit un tracé à l'aide d'une chaîne de données de tracé SVG. En savoir plus...

Import Statement: import QtQuick

Propriétés

Description détaillée

Le code QML suivant génère le chemin d'accès indiqué ci-dessous :

Triangle dessiné à l'aide de commandes de tracé SVG

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

Voir également Path, PathLine, PathQuad, PathCubic, PathArc, PathAngleArc et PathCurve.

Documentation relative aux propriétés

path : string

La chaîne de données de chemin SVG définissant le chemin.

Pour plus d'informations sur ce format, consultez la documentation du W3C sur les données de chemin 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.