Defines a path for use by PathView 更多...
import 语句: | import QtQuick 2.7 |
A Path is composed of one or more path segments - PathLine , PathQuad , PathCubic , PathArc , PathCurve , PathSvg .
The spacing of the items along the Path can be adjusted via a PathPercent 对象。
PathAttribute allows named attributes with values to be defined along the path.
另请参阅 PathView , PathAttribute , PathPercent , PathLine , PathQuad , PathCubic , PathArc , PathCurve ,和 PathSvg .
This property holds whether the start and end of the path are identical.
[default] pathElements : list < PathElement > |
This property holds the objects composing the path.
A path can contain the following path objects:
PathView { anchors.fill: parent model: ContactModel {} delegate: delegate path: Path { startX: 120; startY: 100 PathAttribute { name: "iconScale"; value: 1.0 } PathAttribute { name: "iconOpacity"; value: 1.0 } PathQuad { x: 120; y: 25; controlX: 260; controlY: 75 } PathAttribute { name: "iconScale"; value: 0.3 } PathAttribute { name: "iconOpacity"; value: 0.5 } PathQuad { x: 120; y: 100; controlX: -20; controlY: 75 } } }
These properties hold the starting position of the path.
These properties hold the starting position of the path.