Qt Reference Documentation

QML PathLine Element

The PathLine defines a straight line. More...

  • List of all members, including inherited members
  • Properties

    • x : real
    • y : real

    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.


    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); })();