This topic has not yet been rated - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.