Rect Constructor

 

Initializes a new instance of the Rect structure.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodRect(Double, Double, Double, Double)

Initializes a new instance of the Rect structure that has the specified x-coordinate, y-coordinate, width, and height.

System_CAPS_pubmethodRect(Point, Point)

Initializes a new instance of the Rect structure that is exactly large enough to contain the two specified points.

System_CAPS_pubmethodRect(Point, Size)

Initializes a new instance of the Rect structure that has the specified top-left corner location and the specified width and height.

System_CAPS_pubmethodRect(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.

System_CAPS_pubmethodRect(Size)

Initializes a new instance of the Rect structure that is of the specified size and is located at (0,0).

Return to top
Show: