Initializes a new instance of the
Rect structure.
シンタックス
'宣言
Public Function New( _
ByVal As Point, _
ByVal As Size _
)
'使用法
Dim location As Point
Dim size As Size
Dim instance As New Rect(location, size)
public Rect(
Point ,
Size
)
パラメータ
- location
- The location (coordinates of the top left corner) of the rectangle.
- size
- The size of the rectangle.
参照