views:

1509

answers:

2

I'm trying to create a WPF Shape (PolyLine) editor, which is a control that I want to use to, edit shapes in a canvas.

What the editor needs to do is to be able to display the points and lines of the shape and to move those around.

Can anyone provide me with a idea of how I can accomplish this, or a starting point? I haven't found anything related to how I could do this, so far.

+5  A: 

There is good series of texts about this on CodeProject

WPF Diagram Designer - Part 1

WPF Diagram Designer - Part 2

WPF Diagram Designer - Part 3

Robert Vuković
Micah
+1  A: 

I also like the WPF DrawTools article on CodeProject, which has a very nicely formatted set of source classes. It provides a simpler example of outline shapes - ellipse, rectangle, line, polyline and text.

Andy Dent