このページでは

ConicalGradient QML Type

円錐状の勾配。詳細...

Import Statement: import QtQuick.Shapes 1.12
Inherits:

ShapeGradient

プロパティ

詳細な説明

円錐グラデーションは、シェイプ項目の中心点を基準に、反時計回りに色を補間します。

注: spread mode の設定は 、円錐グラデーションには影響しません。

注: ConicalGradient は 、Shape アイテムと組み合わせて使用する場合にのみサポートされています。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.