FMX.Controls.TControl.RotationCenter

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RotationCenter: TPosition read GetRotationCenter write SetRotationCenter;

C++

__property Fmx::Types::TPosition* RotationCenter = {read=GetRotationCenter, write=SetRotationCenter};

Properties

Type Visibility Source Unit Parent
property protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls 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] can be clipped in some descendant classes.

To set the rotation angle, use RotationAngle.

See Also