ShapeGradient QML Type | Qt Quick 5.15.19 (original) (raw)

Base type of Shape fill gradients. More...

Properties

Detailed Description

This is an abstract base class for gradients like LinearGradient and cannot be created directly. It extends Gradient with properties like the spread mode.

Property Documentation

Specifies how the area outside the gradient area should be filled. The default value is ShapeGradient.PadSpread.

Constant Description
ShapeGradient.PadSpread The area is filled with the closest stop color.
ShapeGradient.RepeatSpread The gradient is repeated outside the gradient area.
ShapeGradient.ReflectSpread The gradient is reflected outside the gradient area.

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