次の方法で共有


Rectangle.Offset メソッド (Int32, Int32)

四角形の位置を指定した量によって調節します。

Overloads Public Sub Offset( _
   ByVal x As Integer, _   ByVal y As Integer _)
[C#]
public void Offset(intx,inty);
[C++]
public: void Offset(intx,inty);
[JScript]
public function Offset(
   x : int,y : int);

パラメータ

  • x
    水平オフセット。
  • y
    垂直オフセット。

戻り値

このメソッドは値を返しません。

必要条件

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

参照

Rectangle 構造体 | Rectangle メンバ | System.Drawing 名前空間 | Rectangle.Offset オーバーロードの一覧