[]
Initializes a new instance of the RenderLine class.
public RenderLine()
Public Sub New()
Initializes a new instance of the RenderLine class, assigning the coordinates of the two points that the line connects.
public RenderLine(Unit x1, Unit y1, Unit x2, Unit y2, LineDef shapeLine)
Public Sub New(x1 As Unit, y1 As Unit, x2 As Unit, y2 As Unit, shapeLine As LineDef)
| Type | Name | Description |
|---|---|---|
| Unit | x1 | The X coordinate of the first of the two points that the line connects. |
| Unit | y1 | The Y coordinate of the first of the two points that the line connects. |
| Unit | x2 | The X coordinate of the second of the two points that the line connects. |
| Unit | y2 | The Y coordinate of the second of the two points that the line connects. |
| LineDef | shapeLine |