System.Types.TPoint.operator Addition
Delphi
class operator Add(const Lhs, Rhs : TPoint): TPoint;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Types.pas | System.Types | TPoint |
説明
2 つの点の合計を計算します。
Addition を呼び出すと、2 つの点の合計を計算することができます。結果の X プロパティは、1 つ目の TPoint オブジェクトの X
値と、2 つ目の TPoint オブジェクトの X
値との合計です。 結果の Y プロパティは、1 つ目の TPoint オブジェクトの Y
値と、2 つ目の TPoint オブジェクトの Y
値との合計です。