System.Types.TPointF.Add

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

Delphi

function Add(const Point: TPointF): TPointF; overload; deprecated 'Use TPointF.Offset instead';
function Add(const Point: TPoint): TPointF; overload; deprecated 'Use TPointF.Offset instead';

プロパティ

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

説明

警告: Add は非推奨になっています。 Offset を使用してください。

2 つの点の合計を計算します。

Add 関数を呼び出すと、2 つの点の合計を取得することができます。 結果の X プロパティは、1 つ目の TPointF オブジェクトの X 値と、2 つ目の TPointF オブジェクトの X 値との合計です。 結果の Y プロパティは、1 つ目の TPointF オブジェクトの Y 値と、2 つ目の TPointF オブジェクトの Y 値との合計です。

関連項目