ShapeGradient QML Type

図形の塗りつぶしグラデーションの基本型。詳細...

Import Statement: import QtQuick.Shapes 1.8
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

プロパティ

詳細説明

これはLinearGradient のようなグラデーションの抽象基底クラスであり、直接作成することはできない。Gradient を拡張し、スプレッド・モードなどのプロパティを持つ。

プロパティの説明

spread : enumeration

グラデーション領域の外側をどのように塗りつぶすかを指定します。デフォルト値はShapeGradient.PadSpread です。

定数説明
ShapeGradient.PadSpread最も近いストップカラーで塗りつぶされます。
ShapeGradient.RepeatSpreadグラデーションはグラデーション領域の外側で繰り返されます。
ShapeGradient.ReflectSpreadグラデーションはグラデーション領域の外側に反映されます。

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