Adjusts the location of this rectangle by the specified amount.
シンタックス
'宣言
Public Overloads Shared Function Offset( _
ByVal As Rect, _
ByVal As Point _
) As Rect
'使用法
Dim r As Rect
Dim offset As Point
Dim value As Rect
value = Rect.Offset(r, offset)
public static Rect Offset(
Rect ,
Point
)
パラメータ
- r
- The rectangle to adjust.
- offset
- Amount to offset the location.
戻り値の型
The adjusted rectangle.
参照