System.Types.TSmallPoint.operator Subtraction

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

Delphi

class operator Subtract(const Lhs, Rhs : TSmallPoint): TSmallPoint;

プロパティ

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

説明

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

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