9 QML_VALUE_TYPE(t_corner)
11 Q_PROPERTY(qreal topLeft READ topLeft WRITE setTopLeft FINAL)
12 Q_PROPERTY(qreal topRight READ topRight WRITE setTopRight FINAL)
13 Q_PROPERTY(qreal bottomLeft READ bottomLeft WRITE setBottomLeft FINAL)
14 Q_PROPERTY(qreal bottomRight READ bottomRight WRITE setBottomRight FINAL)
19 CornersGroup(qreal bottomRight, qreal topRight, qreal bottomLeft, qreal topLeft);
22 Q_INVOKABLE CornersGroup& operator=(qreal) {
return *
this; }
24 Q_INVOKABLE qreal radius()
const;
25 void setRadius(qreal);
27 qreal topLeft()
const;
28 void setTopLeft(qreal newTopLeft);
30 qreal topRight()
const;
31 void setTopRight(qreal newTopRight);
33 qreal bottomLeft()
const;
34 void setBottomLeft(qreal newBottomLeft);
36 qreal bottomRight()
const;
37 void setBottomRight(qreal newBottomRight);
39 Q_INVOKABLE QVector4D toVector4D() const noexcept;
40 operator QVector4D() const noexcept;