次の方法で共有


PointF 減算演算子

PointF を指定の Size の負の値だけ平行移動します。

returnValue = PointF.op_Subtraction(pt, sz)
[C#]
public static PointF operator -(PointFpt,Sizesz);
[C++]
public: static PointF op_Subtraction(PointFpt,Sizesz);
[JScript]
returnValue = pt - sz;

[Visual Basic] Visual Basic では、この型で定義されている演算子を使用することができます。ただし、独自に定義することはできません。

[JScript] JScript では、この型で定義されている演算子を使用することができます。ただし、独自に定義することはできません。

引数 [Visual Basic, JScript]

  • pt
    比較対象の PointF
  • sz
    比較対象の PointF

パラメータ [C#, C++]

  • pt
    比較対象の PointF
  • sz
    比較対象の PointF

戻り値

平行移動済みの PointF を返します。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

PointF 構造体 | PointF メンバ | System.Drawing 名前空間