FMX.Types.TTransform

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TPersistentSystem.TObjectTTransform

Delphi

TTransform = class(TPersistent)

C++

class PASCALIMPLEMENTATION TTransform : public System::Classes::TPersistent

Properties

Type Visibility Source Unit Parent
class public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

TTransform defines two-dimensional plane transformations.

TTransform defines the base transformations in a two-dimensional plane. The base transformations are translation, scaling, and rotation.

The Position property specifies the new position for the translation transformation. The Scale property specifies the scale for the scaling transformation. The RotationAngle and RotationCenter properties specify the angle and the center for the rotation.

The Matrix property shows the final transformation matrix. Matrix elements reflect only a transformation of each kind. When any of the properties is changed, Matrix is updated with the current values of the properties. Matrix does not reflect information of two transformations of the same kind.

TTransform does not apply any of the transformations. It keeps the specific information for base transformations and offers access to the transformation matrix.

See Also