QtQuick.qtquick-effects-transformations

Transformations are applied to child hierarchies and also will also transform mouse and touch input so coordinates in event handlers behave as expected.

Item Properties

The Item contains a number of convenience properties, covering the most common types of transformations.

  • x and y; Translates the item.
  • scale; Applies a uniform scale factor to the item.
  • rotation; Applies a counterclockwise rotation of the item.
  • transformOrigin; Used in conjunction with scale and rotation to change the origin of the transformation.

Transform List

In addition to the convenience types, it is possible to define more comprehensive transformations using a list of Scale, Rotation, and Translate objects to the transform property of the Item.

  翻译: