Debian Codegraph @

tests/auto/quick/qquickshape/data/pathitem6.qml

raw
1 import QtQuick 2.9
2 import tst_qquickpathitem 1.0
3
4 Item {
5 width: 200
6 height: 150
7
8 Shape {
9 vendorExtensionsEnabled: false
10 objectName: "pathItem"
11 anchors.fill: parent
12
13 ShapePath {
14 strokeWidth: 4
15 strokeColor: "red"
16 fillGradient: ConicalGradient {
17 centerX: 100; centerY: 100; angle: 45
18 GradientStop { position: 0; color: "#00000000" }
19 GradientStop { position: 0.10; color: "#ffe0cc73" }
20 GradientStop { position: 0.17; color: "#ffc6a006" }
21 GradientStop { position: 0.46; color: "#ff600659" }
22 GradientStop { position: 0.72; color: "#ff0680ac" }
23 GradientStop { position: 0.92; color: "#ffb9d9e6" }
24 GradientStop { position: 1.00; color: "#00000000" }
25 }
26 fillColor: "blue" // ignored with the gradient set
27 strokeStyle: ShapePath.DashLine
28 dashPattern: [ 1, 4 ]
29 startX: 20; startY: 20
30 PathLine { x: 180; y: 130 }
31 PathLine { x: 20; y: 130 }
32 PathLine { x: 20; y: 20 }
33 }
34 }
35 }