The PathLine defines a straight line. More...
This element was introduced in Qt 4.7.
The example below creates a path consisting of a straight line from 0,100 to 200,100:
Path { startX: 0; startY: 100 PathLine { x: 200; y: 100 } }
See also Path, PathQuad, and PathCubic.