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
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.4" />
paket add Microsoft.Graphics.Win2D --version 1.0.4
#r "nuget: Microsoft.Graphics.Win2D, 1.0.4"
// 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.
|.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|
|Universal Windows Platform||uap uap10.0|
- Microsoft.WindowsAppSDK (>= 1.0.4)
NuGet packages (12)
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.
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:
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.