Export (0) Print
Expand All

Rect Constructor

Initializes a new instance of the Rect structure.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Rect(Size) Initializes a new instance of the Rect structure that is of the specified size and is located at (0,0).
Public method Rect(Point, Point) Initializes a new instance of the Rect structure that is exactly large enough to contain the two specified points.
Public method 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.
Public method Rect(Point, Vector) Initializes 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.
Public method Rect(Double, Double, Double, Double) Initializes a new instance of the Rect structure that has the specified x-coordinate, y-coordinate, width, and height.
Top
Show:
© 2014 Microsoft