public void DrawLines(Color32 color, params Vector2[] args) { ApplyColor(ref color); graphics.DrawLines(pen, args.Select(v => (Point)v).ToArray()); }
private void ApplyColor(ref Color32 color) { pen.Color = Color.FromArgb(color.a, color.r, color.g, color.b); }