C
ShapeGradient QML Type
Base type of Shape fill gradients. More...
| Import Statement: |  import QtQuick.Shapes | 
| Since: | Qt Quick Ultralite 2.7 | 
| Inherits: | |
| Inherited By: | 
Properties
- spread : enumeration
 
Detailed Description
This is an abstract base class for the LinearGradient element. It extends Gradient with the spread mode property.
Property Documentation
spread : enumeration
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. | 
Available under certain Qt licenses.
Find out more.