Home > Net >  Does anyone know how inkcanvas picture circle inside the code how to write
Does anyone know how inkcanvas picture circle inside the code how to write

Time:09-27

Only know 2 points of how to generate the circle point set StylusPointCollection?

When mouseDown into drawing record the startPoint

MouseMove record when the endPoint dynamic drawing circle

MouseUp finish drawing

Draw a point set after adding can achieve the Inkcanvas. Stroke. The add (StylusPointCollection);

Ideas have but don't know the circle equation of embarrassing
  •  Tags:  
  • C#
  • Related