Rect Constructor(Point,Size)
In This Topic
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 Size that represents the width and height of the rectangle.
See Also