C

PathMove QML Type

Moves the Path's position. More...

Import Statement: import QtQuick .
Since: Qt Quick Ultralite 1.8

Properties

  • x : real
  • y : real

Detailed Description

The example below creates a path consisting of two horizontal lines with some empty space between them. All three segments have a width of 100:

Path {
    startX: 0; startY: 100
    PathLine { x: 100; y: 100 }
    PathMove { x: 200; y: 100 }
    PathLine { x: 300; y: 100 }
}

See also Path, PathQuad, PathCubic, PathArc, PathSvg, and PathLine.

Property Documentation

x : real

y : real

Defines the position to move to.


Available under certain Qt licenses.
Find out more.