En esta página

PathSvg QML Type

Define una ruta mediante una cadena de datos de ruta SVG. Más información...

Import Statement: import QtQuick

Propiedades

Descripción detallada

El siguiente código QML genera la ruta que se muestra a continuación:

Triángulo dibujado mediante comandos de trazado SVG

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

Véase también Path, PathLine, PathQuad, PathCubic, PathArc, PathAngleArc y PathCurve.

Documentación de la propiedad

path : string

La cadena de datos de ruta SVG que especifica la ruta.

Consulta «Datos de trazado SVG del W3C » para obtener más detalles sobre este formato.

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