ColorGradientStop QML Type

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

Import Statement: import QtDataVisualization 1.7
Since: QtDataVisualization 1.0

Properties

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.

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

See also ColorGradient.


position : real

The position property describes the position of this gradient stop.

The default position is 0.0.

See also ColorGradient.


© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.