本页内容

C

Path QML Type

定义一个供Shape 使用的路径。更多内容...

Import Statement: import QtQuick
Since: Qt Quick Ultralite 1.8
Inherited By:

ShapePath

属性

详细说明

路径由一个或多个路径段组成——PathLine 、PathQuad 、PathCubic 、PathArc 、PathSvg 。

注意:Path 是一个非视觉类型;它本身不会显示任何内容。要绘制路径,请在Shape 项内使用其子类ShapePath 。

另请参阅 Shape 、PathLine 、PathMove 、PathQuad 、PathCubic 、PathArc 以及PathSvg 。

属性文档

closed : bool

无论路径的起始点和终点是否相同,该属性均成立。

startX : real

startY : real

这些属性保存了路径的起始位置。

在某些 Qt 许可下可用。
了解更多信息。