ShapeGradient QML Type

Basistyp von Shape-Füllverläufen. Mehr...

Import Statement: import QtQuick.Shapes 1.8
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

Eigenschaften

Detaillierte Beschreibung

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

Eigenschaft Dokumentation

spread : enumeration

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

KonstanteBeschreibung
ShapeGradient.PadSpreadDer Bereich wird mit der nächstgelegenen Stoppfarbe gefüllt.
ShapeGradient.RepeatSpreadDer Farbverlauf wird außerhalb des Farbverlaufsbereichs wiederholt.
ShapeGradient.ReflectSpreadDer Farbverlauf wird außerhalb des Farbverlaufsbereichs gespiegelt.

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