ColorGradientStop QML Type

定义ColorGradient 中某个位置的颜色。更多

Import Statement: import QtDataVisualization 1.9
Since: QtDataVisualization 1.0

属性

详细说明

定义ColorGradient 中某个位置的颜色。

另请参阅 ColorGradient

属性文档

color : color

color 属性描述了该渐变色停顿处的颜色。

默认颜色为黑色。

注: 不支持渐变中的透明效果,透明效果将导致未定义的行为。

另请参阅 ColorGradient


position : real

位置属性描述此渐变止点的位置。

默认位置为 0.0。

另请参见 ColorGradient


© 2025 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.