QtQuick.PathSvg

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

Import Statement: import QtQuick 2.4

Properties

Detailed Description

The following QML produces the path shown below:

src="https://assets.ubuntu.com/v1/486c5a62-declarative-pathsvg.png" alt="" />

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 href="http://www.w3.org/TR/SVG/paths.html#PathData">W3C SVG Path Data for more details on this format.