ShapeGradient QML Type
Tipo base de los degradados de relleno de las formas. Más...
| Import Statement: | import QtQuick.Shapes 1.11 |
| Inherits: | |
| Inherited By: |
Propiedades
- spread : enumeration
Descripción detallada
Esta es una clase base abstracta para gradientes como LinearGradient y no puede ser creada directamente. Extiende Gradient con propiedades como el modo de propagación.
Documentación de propiedades
spread : enumeration
Especifica cómo debe rellenarse el área fuera del área del gradiente. El valor por defecto 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.