Method DrawLine
DrawLine(List<ushort>, List<Vertex>, Vector2, Vector2, float, Color)
Draws a line.
Declaration
public static void DrawLine(List<ushort> indices, List<Vertex> vertices, Vector2 pointA, Vector2 pointB, float thickness, Color color)
Parameters
Type | Name | Description |
---|---|---|
List<ushort> | indices | The indices. |
List<Vertex> | vertices | The vertices. |
Vector2 | pointA | The first point. |
Vector2 | pointB | The target point. |
float | thickness | The thickness. |
Color | color | The color. |