ScenePosition QML Type

Import Statement: import org.kde.kirigami

Attached Properties

  • x : double
  • y : double

Detailed Description

This attached property contains the information about the scene position of the item: Its global x and y coordinates will update automatically and can be binded

import org.kde.kirigami as Kirigami
Text {
   text: ScenePosition.x
}

Attached Property Documentation

ScenePosition.x : double

The global scene X position


ScenePosition.y : double

The global scene Y position