public void Ring(Math.Dot2 dot) { Path path; GeometryGroup group = new GeometryGroup(); path = new Path(); path.Fill = Brushes.Brown; path.StrokeThickness = 1; group.Children.Add(new EllipseGeometry(dot.toPoint(), 5, 5)); group.Children.Add(new EllipseGeometry(dot.toPoint(), 3, 3)); path.Data = group; graph.Children.Add(path); }
public void Dot(Math.Dot2 dot) { Path path; path = new Path(); path.Stroke = Brushes.Black; path.Fill = Brushes.Black; path.StrokeThickness = 1; path.Data = new EllipseGeometry(dot.toPoint(), 3, 3); graph.Children.Add(path); }