ColorGradientStop QML Type | Qt Data Visualization 5.9

Qt 5.9 | Qt Data Visualization | QML Types | ColorGradientStop QML Type

Qt 5.9.3 Reference Documentation

# ColorGradientStop QML Type

Defines the color at a position in ColorGradient. More...

Import Statement: | import QtDataVisualization 1.2
Since: | QtDataVisualization 1.0

- List of all members, including inherited members

## Properties

- color : color
- position : real

## Detailed Description

Defines the color at a position in a ColorGradient.

See also ColorGradient.

## Property Documentation

color : color

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

The default color is black.

See also ColorGradient.

position : real

The position property describes the position of this gradient stop.

The default position is 0.0.

See also ColorGradient.