Xamarin. Svg. Forms
Add SVG images to Xamarin Forms apps. It's a Full .NET native implementation (not a binding and has no dependency).
Install-Package Vapolia.Xamarin.Svg.Forms -Version 3.2.2
dotnet add package Vapolia.Xamarin.Svg.Forms --version 3.2.2
<PackageReference Include="Vapolia.Xamarin.Svg.Forms" Version="3.2.2" />
paket add Vapolia.Xamarin.Svg.Forms --version 3.2.2
This is the xamarin native version. For Xamarin Forms use Vapolia.Xamarin.Svg.Forms
Get use cases and full documentation at github https://github.com/softlion/XamSvg-Samples
Fix an issue in iOS where XamSvg will trigger an infinite loop when both width and height are contrained to non zero values, and the name of the svg is null/empty.
It resulted in an infinite refresh loop which makes the app immediatly seems unresponsive.
All properties of SvgImageSource are now bindable, as Xamarin.Forms now supports any ImageSource everywhere an icon can be set (buttons, tabs, ...)
UWP version includes the xr.xml file
fix regression in 3.1.5 with arcs + unit test
Supports new optimized SVG not respecting spec
ios: fix small pixellization (MainScale not used)
ios: fix AlignmentMode property not working as expected when svg bounds don't start at (0,0)
android: fix scaling proportions for sdk23+
ios: fix scaling of DrawUri
fix netstandard versions
android: fix selected/pressed/disabled state making svg invisible in certain cases
Requires Xamarin Forms 3.0 + netstandard2/uwp fall update
ios: fix image heights
Older notes removed for clarity (from 2014)
This package is not used by any popular GitHub repositories.