Aprillz.MewUI.Svg 0.19.1

dotnet add package Aprillz.MewUI.Svg --version 0.19.1
                    
NuGet\Install-Package Aprillz.MewUI.Svg -Version 0.19.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aprillz.MewUI.Svg" Version="0.19.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aprillz.MewUI.Svg" Version="0.19.1" />
                    
Directory.Packages.props
<PackageReference Include="Aprillz.MewUI.Svg" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aprillz.MewUI.Svg --version 0.19.1
                    
#r "nuget: Aprillz.MewUI.Svg, 0.19.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aprillz.MewUI.Svg@0.19.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aprillz.MewUI.Svg&version=0.19.1
                    
Install as a Cake Addin
#tool nuget:?package=Aprillz.MewUI.Svg&version=0.19.1
                    
Install as a Cake Tool

Aprillz.MewUI.Svg

SVG rendering for MewUI, drawn through MewUI's IGraphicsContext. Pure managed, no System.Drawing - built on SVG.NET with a MewUI rendering backend, so it works on every MewUI backend (Direct2D, GDI, MewVG/OpenGL) and is NativeAOT/trim compatible.

SvgImageSource plugs into the standard Image control and stays crisp at any size (it re-renders at the laid-out size, not a stretched bitmap):

using Aprillz.MewUI.Controls;
using Aprillz.MewUI.Svg;

var image = new Image
{
    Source = SvgImageSource.FromFile("icon.svg"),   // or FromString / FromStream / FromResource
    StretchMode = Stretch.Uniform,
}.Size(24, 24);

// recolor a monochrome icon (re-renders automatically)
var src = SvgImageSource.FromFile("home.svg");
src.Tint = Colors.White;

For direct document access the SVG.NET engine type Svg.SvgDocument is also available (SvgDocument.Open/Parse + doc.Render(context, rect)).

Depends on Aprillz.MewUI and ExCSS. Bundles SVG.NET (Ms-PL); see THIRD_PARTY_NOTICES.md.

Full docs: https://github.com/aprillz/MewUI/blob/main/extensions/MewUI.Svg/README.md

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.19.1 91 7/11/2026
0.19.0 92 7/11/2026
0.18.1 106 6/27/2026
0.18.0 110 6/27/2026
0.17.1 378 6/18/2026
0.17.0 107 6/18/2026