I only know the x y of the line If I want to draw a Bézier path I have know the other points but I do not know how to draw it?
If I draw paths it will not so smooth and have sharp corners.
Hi, lescper. Try to divide the spline into segments (points determine segment endpoints), and draw each segment using a cubic Bezier curve. You could introduce two control points between each point in your spline curve to make the segments connect smoothly.
Similar issue you could refer to:https://stackoverflow.com/questions/41802311/draw-splinesmooth-path-with-skiasharp-lib-on-xamarin-forms
Xamarin forums are migrating to a new home on Microsoft Q&A!
We invite you to post new questions in the Xamarin forums’ new home on Microsoft Q&A!
For more information, please refer to this sticky post.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies