Rectangle Constructor (Point, Size)
.NET Framework (current version)
Initializes a new instance of the Rectangle class with the specified location and size.
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- location
-
Type:
System.Drawing::Point
A Point that represents the upper-left corner of the rectangular region.
- size
-
Type:
System.Drawing::Size
A Size that represents the width and height of the rectangular region.
.NET Framework
Available since 1.1
Available since 1.1
Show: