How To Use Svg In Xamarin Forms. Maybe this solution will fulfill your needs. Add the SvkSkia package via Nuget.
1 Install the plugin in all your projects. Copy link Author HakanCelikMK1 commented Oct 25 2020. Worldmap-lowresolutionsvg i use skiassharp for svg.
The SKPath class defines two methods with the words SvgPathData in their names.
You can also specify SVG size without specifying view size see SvgImageSourceFromFile method. Timvandenhof ive decided to use resizetizerNT to load up all my svgs - get them transformed to regular pngs and then use the images as usual in xamarin forms. When using SVG files you must specify either a view size at least one dimension otherwise it would fallback to some default value 100 or so. Now version is pre release.