Defines a path using an SVG path data string. 更多...
import 语句: | import QtQuick 2.15 |
The following QML produces the path shown below:
Path { startX: 50; startY: 50 PathSvg { path: "L 150 50 L 100 150 z" } } |
注意:
Mixing PathSvg with other type of elements is not always supported. For example, when
Shape
is backed by
GL_NV_path_rendering
,
ShapePath
can contain one or more PathSvg elements, or one or more other type of elements, but not both.
另请参阅 路径 , PathLine , PathQuad , PathCubic , PathArc , PathAngleArc ,和 PathCurve .
path : string |
The SVG path data string specifying the path.
见 W3C SVG Path Data for more details on this format.