Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

create a slight curve between 2 points

$
0
0

Im currently using LineSegment to draw a line between 2 points. What I want to do is create a slight curve.

I have tried using the following:

ArcSegment arc1 = new ArcSegment();
                arc1.Point = point[i];
                arc1.Size = new Size(50, 10);
                arc1.IsLargeArc = false;
                arc1.SweepDirection = SweepDirection.Counterclockwise;

But it seems to be a very large curve. Im not quite sure what I would change to do this. I have played around with the Size property but the curve is to steep. I need a very slight curve.

Can anyone point me in the right direction,

Thanks


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>