Nesta página

PathSvg QML Type

Define um caminho usando uma string de dados de caminho SVG. Mais...

Import Statement: import QtQuick

Propriedades

Descrição detalhada

O código QML a seguir gera o caminho mostrado abaixo:

Triângulo desenhado usando comandos de caminho SVG

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

Veja também Path, PathLine, PathQuad, PathCubic, PathArc, PathAngleArc e PathCurve.

Documentação de propriedades

path : string

A string de dados de caminho SVG que especifica o caminho.

Consulte Dados de Caminho SVG do W3C para obter mais detalhes sobre esse 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.