Initializes a new instance of the
Rect structure.
シンタックス
'宣言
Public Function New( _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double, _
ByVal As System.Double _
)
'使用法
Dim x As System.Double
Dim y As System.Double
Dim width As System.Double
Dim height As System.Double
Dim instance As New Rect(x, y, width, height)
public Rect(
System.double ,
System.double ,
System.double ,
System.double
)
パラメータ
- x
- The X coordinate of the left side of the rectangle.
- y
- The Y coordinate of the top side of the rectangle.
- width
- The width of the rectangle.
- height
- The height of the rectangle.
参照