ConicalGradient QML Type

Conical gradient. 更多...

导入语句: import QtQuick.Shapes 1.12
Since: Qt 5.10
继承:

ShapeGradient

特性

详细描述

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

注意: spread mode setting has no effect for conical gradients.

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

另请参阅 QConicalGradient .

特性文档编制

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.