LinearGradient QML Type
Linear gradient. \since
5.10. More...
Properties
Detailed Description
\inqmlmodule
QtQuick.Shapes \ingroup
qtquick-paths \ingroup
qtquick-views \inherits
ShapeGradient
Linear gradients interpolate colors between start and end points in Shape items. Outside these points the gradient is either padded, reflected or repeated depending on the spread type.
Note: LinearGradient is only supported in combination with Shape items. It is not compatible with Rectangle, as that only supports Gradient.
See also QLinearGradient.
Property Documentation
These properties define the start and end points between which color interpolation occurs. By default both points are set to (0, 0).