PathLine Element Reference

The PathLine defines a straight line.

This element was introduced in Qt 4.7.

Detailed Description

The PathLine defines a straight line.

The example below creates a path consisting of a straight line from 0,100 to 200,100:

  1.                 Path  {
  2.     startX: 0; startY: 100
  3.     PathLine  { x: 200; y: 100 }
  4. }

Properties

  • x : real
  • y : real

Property Documentation

Defines the end point of the line.

Notes provided by the Qt Community

No notes