aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shapes/content/pathitemsampling.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/shapes/content/pathitemsampling.qml')
-rw-r--r--examples/quick/shapes/content/pathitemsampling.qml30
1 files changed, 12 insertions, 18 deletions
diff --git a/examples/quick/shapes/content/pathitemsampling.qml b/examples/quick/shapes/content/pathitemsampling.qml
index 8928212aed..6b651f8a1d 100644
--- a/examples/quick/shapes/content/pathitemsampling.qml
+++ b/examples/quick/shapes/content/pathitemsampling.qml
@@ -95,12 +95,10 @@ Rectangle {
fillColor: "transparent"
capStyle: ShapePath.RoundCap
- Path {
- startX: 40; startY: 30
- PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
- PathLine { x: 150; y: 80 }
- PathQuad { x: 160; y: 30; controlX: 200; controlY: 80 }
- }
+ startX: 40; startY: 30
+ PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
+ PathLine { x: 150; y: 80 }
+ PathQuad { x: 160; y: 30; controlX: 200; controlY: 80 }
}
}
}
@@ -136,12 +134,10 @@ Rectangle {
fillColor: "transparent"
capStyle: ShapePath.RoundCap
- Path {
- startX: 40; startY: 30
- PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
- PathLine { x: 150; y: 80 }
- PathQuad { x: 160; y: 30; controlX: 200; controlY: 80 }
- }
+ startX: 40; startY: 30
+ PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
+ PathLine { x: 150; y: 80 }
+ PathQuad { x: 160; y: 30; controlX: 200; controlY: 80 }
}
}
}
@@ -178,12 +174,10 @@ Rectangle {
fillColor: "transparent"
capStyle: ShapePath.RoundCap
- Path {
- startX: 40; startY: 30
- PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
- PathLine { x: 150; y: 80 }
- PathQuad { x: 160; y: 30; controlX: 200; controlY: 80 }
- }
+ startX: 40; startY: 30
+ PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
+ PathLine { x: 150; y: 80 }
+ PathQuad { x: 160; y: 30; controlX: 200; controlY: 80 }
}
}
}