W3cubDocs

/Qt 5.11

ConicalGradient QML Type

Conical gradient. More...

Import Statement: import QtQuick.Shapes 1.11
Since: Qt 5.10
Inherits:

ShapeGradient

Properties

Detailed Description

Conical gradients interpolate colors counter-clockwise around a center point in Shape items.

Note: The spread mode setting has no effect for conical gradients.

Note: ConicalGradient is only supported in combination with Shape items. It is not compatible with Rectangle, as that only supports Gradient.

See also QConicalGradient.

Property Documentation

angle : real

This property defines the start angle for the conical gradient. The value is in degrees (0-360).

centerX : real

These properties define the center point of the conical gradient.

centerY : real

These properties define the center point of the conical gradient.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qml-qtquick-shapes-conicalgradient.html