On this page

C

ShapeGradient QML Type

Base type of Shape fill gradients. More...

Import Statement: import QtQuick.Shapes
Since: Qt Quick Ultralite 2.7
Inherits:

Gradient

Inherited By:

LinearGradient

Enumerations

Properties

Detailed Description

This is an abstract base class for the LinearGradient element. It extends Gradient with the spread mode property.

Enumeration Documentation

Spread

Provides a list of options to control the gradient spread.

ConstantDescription
ShapeGradient.PadSpreadThe area is filled with the closest stop color.
ShapeGradient.RepeatSpreadThe gradient is repeated outside the gradient area.
ShapeGradient.ReflectSpreadThe gradient is reflected outside the gradient area.

Property Documentation

spread : Spread [default]

Specifies how the area outside the gradient area should be filled.


Available under certain Qt licenses.
Find out more.