Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Changes the position of the Rectangle.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void Offset (
int offsetX,
int offsetY
)
Parameters
- offsetX
Change in the x-position. - offsetY
Change in the y-position.
See Also
Reference
Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista