Rectangle.Offset Method (Point)
Changes the position of the Rectangle.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Offset (
Point offset
)
Parameters
- offset
The values to adjust the position of the Rectangle by.
See Also
Reference
Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista