Method DrawLineStitched
DrawLineStitched(float, List<ushort>, List<Vertex>, Vector2, Vector2, float, Color, Color)
Draws the line stitched to the previous line
Declaration
public static void DrawLineStitched(float t, List<ushort> indices, List<Vertex> vertices, Vector2 pointA, Vector2 pointB, float thickness, Color colorA, Color colorB)
Parameters
Type | Name | Description |
---|---|---|
float | t | If > 0.0, stitch the previous line |
List<ushort> | indices | Indice list in which we'll add the line triangle indices |
List<Vertex> | vertices | Vertice list in which we'll add the line points |
Vector2 | pointA | Start point of the line |
Vector2 | pointB | Stop point of the line |
float | thickness | Line thickness |
Color | colorA | Start color for gradient |
Color | colorB | End color for gradient |