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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bezier curves

Thread ID:





99506 May 24,2011 03:24 PM UTC May 26,2011 04:04 AM UTC ASP.NET Web Forms (Classic) 1
Tags: DiagramWebControl
Scott Swartz
Asked On May 24, 2011 03:24 PM UTC

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());

Amsath Ali M [Syncfusion]
Replied On 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.

Amsath Ali.M


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon