Home · All Classes · All Functions · Overviews

QML PathLine Element Reference

The PathLine defines a straight line. More...

Properties

Detailed Description

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.


Property Documentation

x : real
y : real

Defines the end point of the line.



Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.7.0