Nesta página

ShapeGradient QML Type

Tipo básico de gradientes de preenchimento de formas. Mais...

Import Statement: import QtQuick.Shapes 1.12
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

Propriedades

Descrição detalhada

Esta é uma classe base abstrata para gradientes, como LinearGradient, e não pode ser criada diretamente. Ela estende Gradient com propriedades como o modo de difusão.

Documentação das propriedades

spread : enumeration

Especifica como a área fora da área do gradiente deve ser preenchida. O valor padrão é ` ShapeGradient.PadSpread`.

ConstanteDescrição
ShapeGradient.PadSpreadA área é preenchida com a cor de parada mais próxima.
ShapeGradient.RepeatSpreadO gradiente é repetido fora da área do gradiente.
ShapeGradient.ReflectSpreadO gradiente é refletido fora da área do gradiente.

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