ColorGradient QML Type
色のグラデーションを定義します。詳細...
Import Statement: | import QtDataVisualization 1.8 |
Since: | QtDataVisualization 1.0 |
プロパティ
- stops : list<ColorGradientStop>
詳細説明
グラデーションは、シームレスにブレンドされる2つ以上の色によって定義されます。
色は、ColorGradientStop の子項目のセットとして指定され、各項目はグラデーション上の 0.0 から 1.0 までの位置と色を定義する。それぞれのColorGradientStop の位置は、そのposition プロパティを設定することによって定義されます。その色は、そのcolor プロパティを使用して定義されます。
グラデーション・ストップのないグラデーションは、QLinearGradient デフォルトに戻り、0.0で黒、1.0で白になります。
ColorGradientStopも参照してください 。
プロパティ Documentation
stops : list<ColorGradientStop> |
このプロパティは、グラデーションを記述するグラデーションストップを保持します。
デフォルトでは、このプロパティには空のリストが含まれます。
グラデーションストップを設定するには、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.