Initializes a new instance of the Rect class with the specified location and size.
Syntax
'Declaration
Public Function New( _
ByVal As Point, _
ByVal As Size _
)
public Rect(
Point ,
Size
)
Parameters
- location
- A Point that represents the upper-left corner of the rectangle.
- size
- A Rect.Size that represents the width and height of the rectangle.
See Also