Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
10
Transformations are applied to child hierarchies and also will also transform
11
mouse and touch input so coordinates in event handlers behave as expected.
12
13
\section1 Item Properties
14
15
The \l {Item} contains a number of convenience properties,
16
covering 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
28
In addition to the convenience types, it is possible to define more
29
comprehensive transformations using a list of
30
\l {Scale}, \l {Rotation},
31
and \l {Translate} objects to the \c {transform}
32
property of the \l {Item}.
33
34
*/
qtdeclarative
src
quick
doc
src
concepts
effects
transformations.qdoc
Generated on
for Qt by
1.14.0