System.Types.MinPoint
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 |
説明
MinPoint は、P1
と P2
の Y 座標を比較し、原点に近い方の点を返します。 Y 座標が等しい場合は、X 座標が比較されます。