Rectangle.Offset Method (Microsoft.Xna.Framework)
Changes the Location of this Rectangle.
- C#
- VB
- F#
public void Offset( int offsetX, int offsetY )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- offsetX
-
Type: System.Int32
The x coordinate to add to this Rectangle.
- offsetY
-
Type: System.Int32
The y coordinate to add to this Rectangle.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web