Drawign a triangle
Posted: Mon Feb 14, 2011 6:42 am
Greetings and salutations,
I have the need to draw a free form triangle on a chart, and have a drag handle at each vertex.
Is there any way to do such a shape, I thought of using 3 Drawlines but they will overlap at the vertices and one handle will never be clicked and my triangle will come apart when dragged at a vertex.
Is there an existing tool that has 3 "handles " in which case I could make a copy of that class and adapt it to draw what I need, as I have done with the Drawline.cs class.
The drawing of a triangle I am not bothered with its getting a decent interaction with the mouse, i.e. selecting and dragging the points on the chart.
Regards Phil.
I have the need to draw a free form triangle on a chart, and have a drag handle at each vertex.
Is there any way to do such a shape, I thought of using 3 Drawlines but they will overlap at the vertices and one handle will never be clicked and my triangle will come apart when dragged at a vertex.
Is there an existing tool that has 3 "handles " in which case I could make a copy of that class and adapt it to draw what I need, as I have done with the Drawline.cs class.
The drawing of a triangle I am not bothered with its getting a decent interaction with the mouse, i.e. selecting and dragging the points on the chart.
Regards Phil.