This documentation is archived and is not being maintained.

Rect Constructor

Initializes a new instance of the Rect structure.

Name Description
Rect (Size) Initializes a new instance of the Rect structure that is of the specified size and is located at (0,0).
Rect (Point, Point) Intializes a new instance of the Rect structure that is exactly large enough to contain the two specified points.
Rect (Point, Size) Initializes a new instance of the Rect structure that has the specified top-left corner location and the specified width and height.
Rect (Point, Vector) Intializes a new instance of the Rect structure that is exactly large enough to contain the specified point and the sum of the specified point and the specified vector.
Rect (Double, Double, Double, Double) Intializes a new instance of the Rect structure with the specified x- and y-coordinates and the specified width and height.
Show: