ConicalGradient QML Type

Conical gradient. 更多...

导入语句: import QtQuick.Shapes 1.6
继承:

ShapeGradient

特性

详细描述

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

注意: The 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 .

特性文档编制

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).