FMX.Edit.TEditButton.RotationCenter
Delphi
property RotationCenter: TPosition read GetRotationCenter write SetRotationCenter;
C++
__property RotationCenter;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FMX.Edit.pas FMX.Edit.hpp |
FMX.Edit | TEditButton |
Description
Specifies the position of the pivot point of the control. {{#multireplace:FMX.Edit.TEditButton.RotationCenter|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Controls.TControl.RotationCenter|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Controls.TControl.RotationCenter|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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] can be clipped in some descendant classes.
To set the rotation angle, use RotationAngle.