From Appmethod Libraries
Jump to: navigation, search


Object Pascal

TTransform = class(TPersistent)


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


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


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