In questa pagina

ShapeGradient QML Type

Tipo di base dei gradienti di riempimento delle forme. Altro...

Import Statement: import QtQuick.Shapes 1.12
Inherits:

Gradient

Inherited By:

ConicalGradient, LinearGradient, and RadialGradient

Proprietà

Descrizione dettagliata

Si tratta di una classe base astratta per gradienti come LinearGradient e non può essere creata direttamente. Estende Gradient con proprietà quali la modalità di diffusione.

Documentazione delle proprietà

spread : enumeration

Specifica come deve essere riempita l'area al di fuori dell'area con sfumatura. Il valore predefinito è " ShapeGradient.PadSpread".

CostanteDescrizione
ShapeGradient.PadSpreadL'area viene riempita con il colore di stop più vicino.
ShapeGradient.RepeatSpreadIl gradiente viene ripetuto al di fuori dell'area del gradiente.
ShapeGradient.ReflectSpreadIl gradiente viene riflesso al di fuori dell'area del 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.