GradientStop QML Type

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

Import Statement: import QtQuick

属性

详细说明

另请参见 Gradient

属性文档

color : color

position : real

位置和颜色属性描述在渐变中指定位置使用的颜色,由渐变止点表示。

默认位置为 0.0;默认颜色为黑色。

另请参见 Gradient


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