Rectangle Constructor
Initializes a new instance of the Rectangle structure.
Overload List
public Rectangle(int, int, int, int)
public Rectangle(Point, Size)
Rectangle.Rectangle Constructor
Initializes a new instance of the Rectangle structure.
public Rectangle(
Point
offset
,
Size extent
);
Parameters
offset
Microsoft.MediaCenter.UI.Point. A point offset indicating the location.
extent
Microsoft.MediaCenter.UI.Size. The size of the rectangle.
Rectangle.Rectangle Constructor
Initializes a new instance of the Rectangle structure.
public Rectangle(
int
x
,
int y,
int width,
int height
);
Parameters
x
System.Int32. Specifies point x, indicating the location.
y
System.Int32. Specifies point y, indicating the location.
width
System.Int32. Specifies the rectangle width, indicating the size.
height
System.Int32. Specifies the rectangle height, indicating the size.
Requirements
Reference: Microsoft.MediaCenter.UI
Namespace: Microsoft.MediaCenter.UI
Assembly: Microsoft.MediaCenter.UI.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also