Export (0) Print
Expand All
4 out of 7 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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.