W3cubDocs

/Qt

PathSvg QML Type

Defines a path using an SVG path data string. More...

Import Statement: import QtQuick

Properties

Detailed Description

The following QML produces the path shown below:

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

See also Path, PathLine, PathQuad, PathCubic, PathArc, PathAngleArc, and PathCurve.

Property Documentation

path : string

The SVG path data string specifying the path.

See W3C SVG Path Data for more details on this format.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtquick-pathsvg.html