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