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