PathSvg QML Type

Defines a path using an SVG path data string 更多...

import 語句: import QtQuick 2.7

特性

詳細描述

The following QML produces the path shown below:

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

另請參閱 Path , PathLine , PathQuad , PathCubic , PathArc ,和 PathCurve .

特性文檔編製

path : string

The SVG path data string specifying the path.

W3C SVG Path Data for more details on this format.