System.Types.CenterPoint
Delphi
function CenterPoint(const Rect: TRect): TPoint;
C++
extern DELPHI_PACKAGE TPoint __fastcall CenterPoint(const TRect &Rect);
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
説明
四角形の中心点を返します。
CenterPoint を呼び出すと、四角形の中心点を取得することができます。
Rect は、配置したい場所に中心がある四角形です。