IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

ShapeGradient QML Type

Base type of Shape fill gradients.

This type was introduced in Qt 5.10.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ShapeGradient QML Type

Detailed Description

This is an abstract base class for gradients like LinearGradient and cannot be created directly. It extends Gradient with properties like the spread mode.

Property Documentation

 

spread : enumeration

Specifies how the area outside the gradient area should be filled. The default value is ShapeGradient.PadSpread.

Constant

Description

ShapeGradient.PadSpread

The area is filled with the closest stop color.

ShapeGradient.RepeatSpread

The gradient is repeated outside the gradient area.

ShapeGradient.ReflectSpread

The gradient is reflected outside the gradient area.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+