PathSvg QML Type

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

Import Statement: import QtQuick 2.7

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


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