Forum General

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin vs Unity for 2d diagram paint tool

AlexbbAlexbb Member

Hello,

Is Xamarin suitable for diagram paint tool, where user can

  • draw basic shapes like rhombuses, squares, rectangles
  • connect them with lines
  • select drawn shapes, resize and drag'n'drop them
  • also user can draw free forms like in MS Paint

App must work on a tablet (like ipad, MS surface go) and support touch events and stylus (like apple pencil).

Could you please let me know what library/classes is suitable for this task.
SkiaSharp is for that?
http s://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/graphics/skiasharp/
There is information In a Xamarin blog that now Xamarin have build in shapes - is this feature suitable?
http s://devblogs.microsoft.com/xamarin/xamarin-forms-shapes-and-paths/

There is an example with UIGraphics classes namespace
http s://devblogs.microsoft.com/xamarin/apple-pencil-handling-input/
It is possible to draw free forms on UIImageView. It is some library needed for touch/click events on drawn shapes, resize and drag'n'drop.

Please point me to the right direction.

Also, I was told Unity can be used for such App, and many 2d games like puzzles created with Unity. Maybe Unity is best choice for this task?

Sign In or Register to comment.