Click here to Skip to main content
15,920,622 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
any body know how can iadd arrows in between the elliptical arc in wpf with csharp,arcs or path are in diffrent dirrection.functioning: first:by mouse clicle ellipse are draw on canvas. now to to link them with path just click on first ellipse and then on other, a path is created , now i want to add an arrow to this.how to do that
Posted

1 solution

the easiest way to do this would be to use http://geekswithblogs.net/lbugnion/archive/2009/08/31/56-vector-arrows-in-xaml.aspx[^] however if you MUST draw them yourself then I recommend taking the midpoint of the arc as your reference point for the base of the rhombus that you clip to make your triangle for the arrow tip. it gets tricky if your using relative coords, but if your using canvas cords only, then your always in Q4 which makes things a bit easier.. hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900