Rectangle Constructor (Point, Point)

Initializes a new instance of the [Rectangle] struct.

Namespace:  Squid
Assembly:  Squid.Core (in Squid.Core.dll)

Syntax


public Rectangle(
	Point pos,
	Point size
)
Public Sub New ( _
	pos As Point, _
	size As Point _
)
public:
Rectangle(
	Point^ pos, 
	Point^ size
)

Parameters

pos
Type: Point
The pos.
size
Type: Point
The size.