在本页

ConicalGradient QML Type

锥形梯度。更多

Import Statement: import QtQuick.Shapes 1.11
Inherits:

ShapeGradient

属性

详细说明

锥形渐变是围绕 "形状 "项目中的中心点逆时针插值颜色。

注: spread mode 设置对锥形渐变没有影响。

注: 锥形渐变只支持与 "形状 "项结合使用。它与Rectangle 不兼容,因为 仅支持Gradient

另请参阅 QConicalGradient

属性文档

angle : real

该属性定义了锥形渐变的起始角度。单位为度(0-360)。

centerX : real

centerY : real

这些特性定义了锥形梯度的中心点。

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