See the version list below for details.
Requires NuGet 2.8.6 or higher.
dotnet add package Microsoft.Graphics.Win2D --version 18.104.22.168
NuGet\Install-Package Microsoft.Graphics.Win2D -Version 22.214.171.124
<PackageReference Include="Microsoft.Graphics.Win2D" Version="126.96.36.199" />
paket add Microsoft.Graphics.Win2D --version 188.8.131.52
#r "nuget: Microsoft.Graphics.Win2D, 184.108.40.206"
// Install Microsoft.Graphics.Win2D as a Cake Addin #addin nuget:?package=Microsoft.Graphics.Win2D&version=220.127.116.11 // Install Microsoft.Graphics.Win2D as a Cake Tool #tool nuget:?package=Microsoft.Graphics.Win2D&version=18.104.22.168
An easy-to-use Windows Runtime API for immediate mode 2D graphics rendering.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net5.0-windows10.0.17763 is compatible. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp3.0 is compatible. netcoreapp3.1 was computed.|
|.NET Framework||net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|native||native is compatible.|
|Universal Windows Platform||uap was computed. uap10.0 is compatible.|
|Windows||win1 is compatible.|
- Microsoft.WindowsAppSDK (>= 1.0.4)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Microsoft.Graphics.Win2D:
.NET MAUI NuGet dependencies pack
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.
VisioForge SDKs UI wrappers for MAUI
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.
GitHub repositories (27)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Graphics.Win2D:
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.