How to draw line, circle shape like paint on capture image?
There is a new feature called Xamarin.Forms Shapes:https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/shapes/
You could use this to display shapes as you want.
SkiaSharp is another option if you want to draw something in Forms:https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/graphics/skiasharp/
In above link shapes not created dynamically..how can we draw dynamically..like when we select line button and draw lines as per our requirement..
I need to take image either from camera or gallery and after that we need perform drawing functionality on it.
If I select circle button and then click on Image then circle will draw that exact position with dynamic radius as per requirement..
Firstly, get the touch position on each platform as Xamarin TapGestureRecognizer doesn't expose such api.
And then add shapes on the corresponding position dynamically.
We could use RelativeLayout to locate shapes in a certain position.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies