4 out of 6 rated this helpful - Rate this topic

Rectangle Constructor

Initializes a new instance of Rectangle.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public Rectangle (
         int x,
         int y,
         int width,
         int height
)

Parameters

x
Type: Int32
The x-coordinate of the rectangle.
y
Type: Int32
The y-coordinate of the rectangle.
width
Type: Int32
Width of the rectangle.
height
Type: Int32
Height of the rectangle.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.