TRSTransform defines two-dimensional plane transformations.
TRSTransform 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.
TRSTransform does not apply any of the transformations. It keeps the specific information for base transformations and offers access to the transformation matrix.
Note
|
This class is for earlier versions of Delphi that did not define a FMX TTranform type and for use in VCL. For later versions of Delphi, TRSTransform = TTransform.
|
Namespace: RSGraphics
TPersistent
RSGraphics.TRSTransform
|
Delphi
|
type
TRSTransform = class(TPersistent)
end;
|
|
Name
|
Description
|
|
Create
|
Creates and initializes a new TRSTransform instance.
|
|
Destroy
|
Represents the destructor of the TRSTransform class.
|
Top
|
|
Name
|
Description
|
|
Matrix
|
Specifies the transformation matrix.
Matrix specifies the final transformation matrix. It is updated when any of the TRSTransform properties specific to a transformation is changed. Matrix elements reflect a transformation of each kind.
|
|
OnChanged
|
Occurs immediately after the TRSTransform object changes.
Write an OnChanged event handler to take specific action when the TRSTransform object changes. The properties of the TRSTransform object reflect the new settings when OnChanged occurs.
|
|
Position
|
Specifies the position for the translation transformation.
|
|
RotationAngle
|
Specifies the rotation angle.
RotationAngle specifies the angle for the rotation transformation.
|
|
RotationCenter
|
Specifies the rotation center.
RotationCenter specifies the center point for the rotation transformation.
|
|
Scale
|
Specifies the scaling index.
Scale specifies the scale for the scaling transformation.
|
|
Skew
|
Specifies the skew position.
Skew specifies the position for the skew transformation.
|
Top
|