ConicalGradient QML Type

Conical gradient. More...

Import Statement: import QtQuick.Shapes 1.14
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

centerX : real

centerY : real

These properties define the center point of the conical gradient.


angle : real

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


© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.