Example #1
0
 public void DrawLine(Vector2 start, Vector2 end, int width, Color color)
 {
     CustomDrawing.DrawLine(_screenPos + start, _screenPos + end, width, _modulate.ModulateColor(color));
     UpdateDrawBounds(start - new Vector2(width / 2), new Vector2(width));
     UpdateDrawBounds(end - new Vector2(width / 2), new Vector2(width));
 }