En esta página

ShapeGradient QML Type

Tipo base de los degradados de relleno de las formas. Más...

Import Statement: import QtQuick.Shapes 1.11
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

Propiedades

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.

ConstanteDescripción
ShapeGradient.PadSpreadEl área se rellena con el color de parada más cercano.
ShapeGradient.RepeatSpreadEl degradado se repite fuera del área de degradado.
ShapeGradient.ReflectSpreadEl 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.