2022-05-13 13:12:05 +00:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2017-07-28 11:44:09 +00:00
|
|
|
|
2021-08-24 11:17:54 +00:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Shapes
|
2017-07-28 11:44:09 +00:00
|
|
|
|
|
|
|
Rectangle {
|
|
|
|
color: "lightGray"
|
2021-09-01 13:29:26 +00:00
|
|
|
width: 256
|
|
|
|
height: 256
|
2017-07-28 11:44:09 +00:00
|
|
|
Shape {
|
2023-09-27 08:47:54 +00:00
|
|
|
id: shape
|
|
|
|
anchors.fill: parent
|
|
|
|
|
2017-07-28 11:44:09 +00:00
|
|
|
ShapePath {
|
2023-09-27 08:47:54 +00:00
|
|
|
id: p
|
|
|
|
strokeWidth: 5
|
|
|
|
strokeColor: "blue"
|
2017-07-28 11:44:09 +00:00
|
|
|
strokeStyle: ShapePath.DashLine
|
2023-09-27 08:47:54 +00:00
|
|
|
dashPattern: [ 1, 4, 4, 4 ]
|
|
|
|
fillColor: "lightBlue"
|
|
|
|
|
2024-07-03 09:36:25 +00:00
|
|
|
PathAngleArc {
|
|
|
|
centerX: shape.width / 2
|
|
|
|
centerY: shape.height / 2
|
|
|
|
radiusX: shape.width / 2.5
|
|
|
|
radiusY: shape.height / 6
|
|
|
|
sweepAngle: 360
|
2023-03-03 17:07:39 +00:00
|
|
|
}
|
2017-07-28 11:44:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|