[]
Initializes a new instance of the RenderLine class.
public RenderLine()
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)
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 |