System.Types.MinPoint

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function MinPoint(const P1, P2: TPointF): TPointF;
function MinPoint(const P1, P2: TPoint): TPoint;

C++

extern DELPHI_PACKAGE TPointF __fastcall MinPoint(const TPointF &P1, const TPointF &P2)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Types.pas
System.Types.hpp
System.Types System.Types

説明

最小の TPoint または TPointF を返します。

MinPoint は、P1P2 の Y 座標を比較し、原点に近い方の点を返します。 Y 座標が等しい場合は、X 座標が比較されます。

関連項目

コード サンプル