System.Types.CenterPoint
Delphi
function CenterPoint(const Rect: TRect): TPoint;
C++
extern DELPHI_PACKAGE TPoint __fastcall CenterPoint(const TRect &Rect);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
Returns the point in the center of a rectangle.
Call CenterPoint to obtain the point in the center of a rectangle.
Rect is the rectangle whose center you want to locate.