We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Bezier curves

I need to enable the user to edit the shape of Bezier Curves via its end points and control points. The issue is that I can't get the control points to appear and even though I pass 4 points into the Bezier contstructor (see snippet bleow) it appears that the first and second points are treated as endpoints and the rest of the points are ignored.

How do I get the control points to appear?

Why are the third and fourth points ignored?

Most bezier curve editors also support optional drawing of lines between the endpoints and control points. Is there a way to draw the lines?

//Create some points
var points = new List();
points.Add(new PointF(0, 0));
points.Add(new PointF(50, 100));
points.Add(new PointF(90, 140));
points.Add(new PointF(100, 800));

//Create the bezier curve and add it to the diagram
Curve = new BezierCurve(points.ToArray());
diagram1.Model.AppendChild(Curve);



1 Reply

AA Amsath Ali M Syncfusion Team May 26, 2011 04:04 AM UTC

Hi Scott,

Thanks for your interest in Syncfusion products.

Since you have created a separate Direct-Trac incident[80790] for your query, please refer that incident for better follow up.

Please let me know if you have any concerns.

Regards,
Amsath Ali.M


Loader.
Live Chat Icon For mobile
Up arrow icon