aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shapes/content/item6.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/shapes/content/item6.qml')
-rw-r--r--examples/quick/shapes/content/item6.qml14
1 files changed, 6 insertions, 8 deletions
diff --git a/examples/quick/shapes/content/item6.qml b/examples/quick/shapes/content/item6.qml
index 334bc87fe0..f0791c30d2 100644
--- a/examples/quick/shapes/content/item6.qml
+++ b/examples/quick/shapes/content/item6.qml
@@ -62,14 +62,12 @@ Rectangle {
strokeColor: "blue"
fillColor: "magenta"
strokeWidth: 2
- Path {
- PathMove { x: 90; y: 50 }
- PathLine { x: 50 + 40 * Math.cos(0.8 * 1 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 1 * Math.PI) }
- PathLine { x: 50 + 40 * Math.cos(0.8 * 2 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 2 * Math.PI) }
- PathLine { x: 50 + 40 * Math.cos(0.8 * 3 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 3 * Math.PI) }
- PathLine { x: 50 + 40 * Math.cos(0.8 * 4 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 4 * Math.PI) }
- PathLine { x: 90; y: 50 }
- }
+ PathMove { x: 90; y: 50 }
+ PathLine { x: 50 + 40 * Math.cos(0.8 * 1 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 1 * Math.PI) }
+ PathLine { x: 50 + 40 * Math.cos(0.8 * 2 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 2 * Math.PI) }
+ PathLine { x: 50 + 40 * Math.cos(0.8 * 3 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 3 * Math.PI) }
+ PathLine { x: 50 + 40 * Math.cos(0.8 * 4 * Math.PI); y: 50 + 40 * Math.sin(0.8 * 4 * Math.PI) }
+ PathLine { x: 90; y: 50 }
}
NumberAnimation on rotation {
from: 0