PathArcThe PathArc defines an arc with the given radius. More... Inherits QtObject Properties
Detailed DescriptionPathArc provides a simple way of specifying an arc that ends at a given position and uses the specified radius. It is modeled after the SVG elliptical arc command. The following QML produces the path shown below:
Note that a single PathArc cannot be used to specify a circle. Instead, you can use two PathArc elements, each specifying half of the circle. See also Path, PathLine, PathQuad, PathCubic, PathCurve, and PathSvg. Property DocumentationDefines the direction of the arc. Possible values are PathArc.Clockwise (default) and PathArc.Counterclockwise. The following QML can produce either of the two illustrated arcs below by changing the value of direction.
See also useLargeArc. Defines the radius of the arc. The following QML demonstrates how different radius values can be used to change the shape of the arc:
Whether to use a large arc as defined by the arc points. Given fixed start and end positions, radius, and direction, there are two possible arcs that can fit the data. useLargeArc is used to distinguish between these. For example, the following QML can produce either of the two illustrated arcs below by changing the value of useLargeArc.
The default value is false. |