RenderLine Constructor(Unit,Unit,Unit,Unit,LineDef)
Initializes a new instance of the
RenderLine class, assigning the coordinates of the two points that the line connects.
'Declaration
Public Function New( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As Unit, _
ByVal As LineDef _
)
Parameters
- 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