System.Types.TSmallPoint.Subtract

提供:RAD Studio API Documentation

Delphi

function Subtract(const Point: TSmallPoint): TSmallPoint;

プロパティ

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

説明

2 つの TSmallPoint オブジェクトの差分を計算します。

結果の x プロパティは、1 つ目の TSmallPoint の x 値と、2 つ目の TSmallPoint の x 値との差分です。 結果の y プロパティは、1 つ目の TSmallPoint の y 値と、2 つ目の TSmallPoint の y 値との差分です。