Spec-Zone.ru › Qt

ShapeGradient QML Type

Base type of Shape fill gradients. More...

Import Statement: import QtQuick.Shapes
Since: Qt 5.10
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

  • List of all members, including inherited members

Properties

  • spread : enumeration

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

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtquick-shapes-shapegradient.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API