title: How to Draw Arc In windows phone 7 in canvas in Runtime?
body: <p>The Challenge is that i have to make a canvas object in runtime for windows phone 7. And then Add a arc on it , with a startpoint and one end Point . i have tried this code </p>
  
  <pre><code>    PathGeometry pathGeometry = new PathGeometry();
      PathFigure figure = new PathFigure();
      figure.StartPoint = new Point(150, 200);
      figure.Segments.Add(
      new ArcSegment(
      new Point(300, 200),
      new Size(700, 100),
      90,
      false,
      SweepDirection.Clockwise,
      true
      )
      );
      pathGeometry.Figures.Add(figure);
      Path path = new Path();
      path.Data = pathGeometry;
      path.Fill = Brushes.Pink;
      path.Stroke = Brushes.Green;
  </code></pre>
  
  <p>now I have to add this arc on canvas but it does not take arguments . is there any other way to do it . I am stuck with it . </p>