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.
Unfortunately, activation email could not send to your email. Please try again.

Bezier curves

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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



Amsath Ali M [Syncfusion]
Replied On May 26, 2011 12:04 AM

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


CONFIRMATION

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.

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.

;