Rectangle Constructor (Point, Size)

Initializes a new instance of the Rectangle struct with the specified location and size.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public Rectangle(
	Point location,
	Size size
)

Parameters

location
Type: System.DrawingPoint
A Point that represents the upper-left corner of the rectangular region.
size
Type: System.DrawingSize
A Size that represents the width and height of the rectangular region.
See Also