System.Types.TPointF.Subtract

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

Delphi

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

プロパティ

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

説明

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

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

結果の X プロパティは、1 つ目の TPointFX 値と、2 つ目の TPointFX 値との差分です。 結果の Y プロパティは、1 つ目の TPointFY 値と、2 つ目の TPointFY 値との差分です。

関連項目