public MainWindow() { InitializeComponent(); ClrPcker_Background.Visibility = Visibility.Hidden; _voronoi = new VoronoiGenerator(_pointList); }
private void _newClick(object sender, RoutedEventArgs e) { _pointList = new List <VectorNode>(); _voronoi = new VoronoiGenerator(_pointList); this.canvas1.Children.Clear(); }