ColorGradientStop QML Type

Defines the color at a position in ColorGradient . 更多...

import 语句: import QtDataVisualization 1.7
Since: QtDataVisualization 1.0

特性

详细描述

Defines the color at a position in a ColorGradient .

另请参阅 ColorGradient .

特性文档编制

color : color

The color property describes the color color of this gradient stop.

The default color is black.

注意: Transparency in a gradient is not supported and will result in undefined behavior.

另请参阅 ColorGradient .

position : real

The position property describes the position of this gradient stop.

The default position is 0.0.

另请参阅 ColorGradient .