System.Types.TPointF.operator Equality

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

Delphi

class operator Add(const APoint1, APoint2: TPointF): TPointF;
class operator Subtract(const APoint1, APoint2: TPointF): TPointF;
class operator Equal(const APoint1, APoint2: TPointF): Boolean;

プロパティ

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

説明

2 つの TPointF オブジェクトが等しいことをテストします。

operator Equality は、2 つの TPointF が等しいかどうかを、ぞれぞれの XY の値を比べることによってテストします。 これは、X プロパティ、および Y プロパティ同士が、それぞれ等しい場合に、Boolean 値 True を返します。 そうでなければ、False を返します。

関連項目