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

PathAngleArc QML Type

Defines an arc with the given radii and center.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

PathAngleArc QML Type

  • Import Statement: import QtQuick

  • Group: PathAngleArc is part of qtquick-animation-paths

Detailed Description

PathAngleArc provides a simple way of specifying an arc. While PathArc is designed to work as part of a larger path (specifying start and end), PathAngleArc is designed to make a path where the arc is primary (such as a circular progress indicator) more intuitive.

See Also

Property Documentation

 

centerX : real

centerY : real

Defines the center of the arc.

radiusX : real

radiusY : real

Defines the radii of the ellipse of which the arc is part.

moveToStart : bool

Whether this element should be disconnected from the previous Path element (or startX/Y).

The default value is true. If set to false, the previous element's end-point (or startX/Y if PathAngleArc is the first element) will be connected to the arc's start-point with a straight line.

startAngle : real

Defines the start angle of the arc.

The start angle is reported clockwise, with zero degrees at the 3 o'clock position.

sweepAngle : real

Defines the sweep angle of the arc.

The arc will begin at startAngle and continue sweepAngle degrees, with a value of 360 resulting in a full circle. Positive numbers are clockwise and negative numbers are counterclockwise.

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