質問

I am new at Xamarin, and need little help. I have libraries writen for windows and iOS that use System.Drawing (using monotouch.dll if understand well). Now i need to adapt those libraries to work on Android, is there an easy way to do it, or i must manualy change them to work with Android.Graphics?

役に立ちましたか?

解決

Look into Splat, a cross-platform geometry/color library built by Paul Betts.

https://github.com/paulcbetts/splat

他のヒント

The only items from System.Drawing in iOS are:

   Point
   PointF
   Rectangle
   RectangleF
   Size
   SizeF

For Android all these are available (plus some others like Color) so if the code compiles for iOS you are fine with Android as well.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top