Auf dieser Seite

ShapeGradient QML Type

Grundtyp für Formfüllungsverläufe. Mehr...

Import Statement: import QtQuick.Shapes 1.12
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

Eigenschaften

Ausführliche Beschreibung

Dies ist eine abstrakte Basisklasse für Farbverläufe wie „ LinearGradient “ und kann nicht direkt instanziiert werden. Sie erweitert „ Gradient “ um Eigenschaften wie den Ausbreitungsmodus.

Dokumentation der Eigenschaften

spread : enumeration

Legt fest, wie der Bereich außerhalb des Farbverlaufsbereichs gefüllt werden soll. Der Standardwert ist „ ShapeGradient.PadSpread “.

KonstanteBeschreibung
ShapeGradient.PadSpreadDer Bereich wird mit der am besten passenden Stoppfarbe gefüllt.
ShapeGradient.RepeatSpreadDer Farbverlauf wird außerhalb des Farbverlaufsbereichs wiederholt.
ShapeGradient.ReflectSpreadDer Farbverlauf wird außerhalb des Farbverlaufsbereichs gespiegelt.

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