ShapeGradient QML Type
Tipo básico de degradados de relleno de formas. Más...
| Import Statement: | import QtQuick.Shapes 1.12 |
| Inherits: | |
| Inherited By: |
Propiedades
- spread : enumeration
Descripción detallada
Se trata de una clase base abstracta para degradados como LinearGradient y no se puede crear directamente. Hereda de Gradient con propiedades como el modo de difuminado.
Documentación de las propiedades
spread : enumeration
Especifica cómo se debe rellenar el área situada fuera de la zona del degradado. El valor predeterminado es « ShapeGradient.PadSpread ».
| Constante | Descripción |
|---|---|
ShapeGradient.PadSpread | El área se rellena con el color de parada más cercano. |
ShapeGradient.RepeatSpread | El degradado se repite fuera del área de degradado. |
ShapeGradient.ReflectSpread | El degradado se refleja fuera del área de degradado. |
© 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.