Initializes a new instance of the
RenderLine class, assigning the coordinates of the two points that the line connects.
シンタックス
'宣言
Public Function New( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As LineDef _
)
'使用法
Dim x1 As Unit
Dim y1 As Unit
Dim x2 As Unit
Dim y2 As Unit
Dim shapeLine As LineDef
Dim instance As New RenderLine(x1, y1, x2, y2, shapeLine)
public RenderLine(
Unit ,
Unit ,
Unit ,
Unit ,
LineDef
)
パラメータ
- x1
- The X coordinate of the first of the two points that the line connects.
- y1
- The Y coordinate of the first of the two points that the line connects.
- x2
- The X coordinate of the second of the two points that the line connects.
- y2
- The Y coordinate of the second of the two points that the line connects.
- shapeLine
参照