Click or drag to resize

Rectangle Constructor (Point, Size)

Initializes a new instance of the Rectangle class with the specified origin and size.

Namespace:  DotNetBrowser.Geometry
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.2
Syntax
C#
public Rectangle(
	Point origin,
	Size size
)

Parameters

origin
Type: DotNetBrowser.GeometryPoint
The top-left corner coordinate of the rectangle.
size
Type: DotNetBrowser.GeometrySize
The rectangle dimensions.
See Also