Rectangle.Offset Method (Int32, Int32)
Changes the position of the Rectangle.
Syntax
'Declaration
Public Sub Offset ( _
offsetX As Integer, _
offsetY As Integer _
)
public void Offset (
int offsetX,
int offsetY
)
public:
void Offset(
int offsetX,
int offsetY
)
Parameters
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone