Qt Reference Documentation

QML PathPercent Element

The PathPercent manipulates the way a path is interpreted. More...

Detailed Description

The examples below show the normal distrubution of items along a path compared to a distribution which places 50% of the items along the PathLine section of the path.

 Path {
     startX: 20; startY: 0
     PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
     PathLine { x: 150; y: 80 }
     PathQuad { x: 180; y: 0; controlX: 200; controlY: 80 }
 }

 Path {
     startX: 20; startY: 0
     PathQuad { x: 50; y: 80; controlX: 0; controlY: 80 }
     PathPercent { value: 0.25 }
     PathLine { x: 150; y: 80 }
     PathPercent { value: 0.75 }
     PathQuad { x: 180; y: 0; controlX: 200; controlY: 80 }
     PathPercent { value: 1 }
 }

See also Path.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();