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

ConicalGradient QML Type

Conical gradient.

This type was introduced in Qt 5.10.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ConicalGradient QML Type

  • Import Statement: import QtQuick.Shapes 1.4

  • Since:: Qt 5.10

  • Inherits:: ShapeGradient

  • Group: ConicalGradient is part of qtquick-paths, qtquick-views

Detailed Description

Conical gradients interpolate colors counter-clockwise around a center point in Shape items.

The spread mode setting has no effect for conical gradients.

ConicalGradient is only supported in combination with Shape items. It is not compatible with Rectangle, as that only supports Gradient.

See Also

See also QConicalGradient

Property Documentation

 

centerX : real

centerY : real

These properties define the center point of the conical gradient.

angle : real

This property defines the start angle for the conical gradient. The value is in degrees (0-360).

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