Show: Delphi
C++
Display Preferences
FMX.Types.TControl.RotationCenter
From XE3 API Documentation
Delphi
property RotationCenter: TPosition read FRotationCenter write FRotationCenter;
C++
__property TPosition* RotationCenter = {read=FRotationCenter, write=FRotationCenter};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | TControl |
Description
Specifies the position of the pivot point of the control.
The coordinates of the rotation center take values in the range from 0 through 1. The point with the coordinates (0,0) corresponds to the upper-left corner of the control, the point with the coordinates (1,1) corresponds to the lower-right corner of the control. The default center of rotation is (0.5, 0.5).
Values outside of [0,0] and [1,1] are clipped.
To set the rotation angle, use RotationAngle.