次の方法で共有


PointF 加算演算子

PointF を指定の Size で平行移動します。

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

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

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

引数 [Visual Basic, JScript]

  • pt
    平行移動する PointF
  • sz
    pt の座標に追加する数の組み合わせを指定する Size

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

  • pt
    平行移動する PointF
  • sz
    pt の座標に追加する数の組み合わせを指定する Size

戻り値

平行移動済みの 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 名前空間