Region Constructor (RectangleF)

 

Initializes a new Region from the specified RectangleF structure.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public:
Region(
	RectangleF rect
)

Parameters

rect
Type: System.Drawing::RectangleF

A RectangleF structure that defines the interior of the new Region.

This method creates a new Region with a rectangular interior. The interior is defined by the rect parameter.

.NET Framework
Available since 1.1
Return to top
Show: