Microsoft.Graphics.Win2D 1.0.4

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET 5.0 .NET Core 3.0 .NET Framework 4.5

Requires NuGet 2.8.6 or higher.

dotnet add package Microsoft.Graphics.Win2D --version 1.0.4
NuGet\Install-Package Microsoft.Graphics.Win2D -Version 1.0.4
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="Microsoft.Graphics.Win2D" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Graphics.Win2D --version 1.0.4
#r "nuget: Microsoft.Graphics.Win2D, 1.0.4"
#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.
// Install Microsoft.Graphics.Win2D as a Cake Addin
#addin nuget:?package=Microsoft.Graphics.Win2D&version=1.0.4

// Install Microsoft.Graphics.Win2D as a Cake Tool
#tool nuget:?package=Microsoft.Graphics.Win2D&version=1.0.4

An easy-to-use Windows Runtime API for immediate mode 2D graphics rendering.
For WinUI.

Product Versions
.NET net5.0 net5.0-windows net5.0-windows10.0.17763 net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
native native
Universal Windows Platform uap uap10.0
Windows win1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Microsoft.Graphics.Win2D:

Package Downloads
Microsoft.Maui.Dependencies The ID prefix of this package has been reserved for one of the owners of this package by

.NET MAUI NuGet dependencies pack

Microsoft.Maui.Graphics.Win2D.WinUI.Desktop The ID prefix of this package has been reserved for one of the owners of this package by

Package Description

CommunityToolkit.WinUI.UI.Controls.Media The ID prefix of this package has been reserved for one of the owners of this package by

This library provides controls backed by win2d for use in XAML. It is a part of the Windows Community Toolkit. Controls: - Eyedropper: Eyedropper allows user to pick up a color from anywhere in there application. - ImageCropper: ImageCropper control allows user to crop image freely. - InfiniteCanvas: Supports Infinite Scrolling, Ink, Text, Format Text, Zoom in/out, Redo, Undo, Export & Import.

CommunityToolkit.WinUI.UI.Media The ID prefix of this package has been reserved for one of the owners of this package by

This library provides UI effects which rely on Win2D. It is a part of the Windows Community Toolkit. AttachedCardShadow: Provides an easy-to-use, simple, and performant rounded-rectangle shadow effect. Effects: - AcrylicEffect: A custom acrylic effect that can be inserted into a pipeline. - BackdropEffect: A backdrop effect that can sample from a specified source. - BlendEffect: A blend effect that merges the current pipeline with an input one. - BlurEffect: A gaussian blur effect. - ImageEffect: An effect which displays an image loaded as a Win2D surface. - ShadeEffect: An effect that overlays a color layer over the current pipeline, with a specified intensity. - SolidColorEffect: An effect that renders a standard 8bit SDR color on the available surface. - TileEffect: An effect that loads an image and replicates it to cover all the available surface area. - ExposureEffect, GrayscaleEffect, HueRotationEffect and more, mapping to Win2D effects. Geometry: - CanvasPathGeometry: A class that parses Win2d Path Mini Language and converts it to CanvasGeometry, CanvasBrush, CanvasStroke, CanvasStrokeStyle or Color. Helpers: - SurfaceLoader: A class that can load and draw images and other objects to Win2D surfaces and brushes. Media: - AcrylicBrush: A custom Brush that that implements an acrylic effect with full control over all parameters. - BackdropBlurBrush: The BackdropBlurBrush is a Brush that blurs whatever is behind it in the application. - BackdropGammaTransferBrush: A brush which alters the colors of whatever is behind it in the application by applying a per-channel gamma transfer function. - BackdropInvertBrush: The BackdropInvertBrush is a Brush which inverts whatever is behind it in the application. - BackdropSaturationBrush: Brush which applies a SaturationEffect to the Backdrop. - BackdropSepiaBrush: Brush which applies a SepiaEffect to the Backdrop. - CanvasBrushBase: Helper Brush class to interop with Win2D Canvas calls. - ImageBlendBrush: A Brush which blends a BitmapImage to the Backdrop in a given mode. - PipelineBrush: A Brush that renders a customizable Composition/Win2D effects pipeline - RadialGradientBrush: This GradientBrush defines its Gradient as an interpolation within an Ellipse. - TilesBrush: A Brush that displays a tiled image, wrapping at the edges and endlessly repeating. PipelineBuilder: A class that allows to build custom effects pipelines and create CompositionBrush instances from them.


VisioForge SDKs UI wrappers for MAUI

GitHub repositories (26)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Graphics.Win2D:

Repository Stars
Building the best file manager experience for Windows
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Bridges the worlds of .NET with the native APIs of macOS, iOS, tvOS, and watchOS.
DPI Aware mouse move across screens
This app demonstrates the controls available in WinUI and the Fluent Design System.
Version Downloads Last updated
1.0.4 187,810 10/4/2022 387,462 5/2/2022
1.0.1 22,524 3/30/2022 118,958 11/17/2021 22,675 10/28/2021 1,796 10/14/2021 972 10/5/2021 4,662 9/9/2021 620 4/11/2022
0.8.7-preview1 149 2/3/2022
0.8.6 350 12/14/2021 1,583 8/17/2021 20,423 6/24/2021 635 5/26/2021 1,324 5/7/2021 10,523 4/12/2021 1,224 4/1/2021