FMX.InertialMovement.TRectD.Create
Delphi
constructor Create(const Origin: TPointD); overload;
constructor Create(const Left, Top, Right, Bottom: Double); overload;
C++
__fastcall TRectD(const TPointD &Origin)/* overload */;
__fastcall TRectD(const double Left, const double Top, const double Right, const double Bottom)/* overload */;
TRectD() {}
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | TRectD |
Description
Creates a TRectD rectangle having floating-point coordinates in logical units.
Create constructs and initializes a new TRectD rectangle object having Double coordinates:
- Origin represents the upper-left corner of the rectangle as the TPointD type point.
- Top, Bottom, Right, and Left are Double vertical or horizontal coordinates of the upper, lower, right and left sides of the rectangle, respectively.
- Note:
Create(const Origin: TPointD)
creates an empty rectangle at the given Origin.