ConicalGradient QML Type

Conical gradient. 更多...

import 語句: import QtQuick.Shapes 1.12
Since: Qt 5.10
繼承: 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 漸變 .

另請參閱 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.