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