Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
transformations.qdoc
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5\ingroup qtquick-transformations
6\page qtquick-effects-transformations.html
7\title Qt Quick Transformation Types
8\brief Types for applying transformations to visual types
9
10Transformations are applied to child hierarchies and also will also transform
11mouse and touch input so coordinates in event handlers behave as expected.
12
13\section1 Item Properties
14
15The \l {Item} contains a number of convenience properties,
16covering the most common types of transformations.
17
18\list
19 \li \c {x} and \c{y}; Translates the item.
20 \li \c {scale}; Applies a uniform scale factor to the item.
21 \li \c {rotation}; Applies a counterclockwise rotation of the item.
22 \li \c {transformOrigin}; Used in conjunction with scale and rotation to
23 change the origin of the transformation.
24\endlist
25
26\section1 Transform List
27
28In addition to the convenience types, it is possible to define more
29comprehensive transformations using a list of
30\l {Scale}, \l {Rotation},
31and \l {Translate} objects to the \c {transform}
32property of the \l {Item}.
33
34*/