Microsoft.Graphics.Win2D
1.0.3.1
Prefix Reserved
Requires NuGet 2.8.6 or higher.
Install-Package Microsoft.Graphics.Win2D -Version 1.0.3.1
dotnet add package Microsoft.Graphics.Win2D --version 1.0.3.1
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.3.1" />
paket add Microsoft.Graphics.Win2D --version 1.0.3.1
#r "nuget: Microsoft.Graphics.Win2D, 1.0.3.1"
// Install Microsoft.Graphics.Win2D as a Cake Addin
#addin nuget:?package=Microsoft.Graphics.Win2D&version=1.0.3.1
// Install Microsoft.Graphics.Win2D as a Cake Tool
#tool nuget:?package=Microsoft.Graphics.Win2D&version=1.0.3.1
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.18362 net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp3.0 netcoreapp3.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
native | native |
Universal Windows Platform | uap uap10.0 |
Windows | win1 |
-
- Microsoft.WindowsAppSDK (>= 1.0.3)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Microsoft.Graphics.Win2D:
Package | Downloads |
---|---|
Microsoft.Maui.Dependencies
.NET MAUI NuGet dependencies pack |
|
Microsoft.AspNetCore.Components.WebView.Maui
Build .NET MAUI applications with Blazor web UI in the BlazorWebView control. |
|
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop
Microsoft.Maui.Graphics for WinUI powered by Win2D |
|
CommunityToolkit.WinUI.UI.Controls.Media
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
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 (22)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Graphics.Win2D:
Repository | Stars |
---|---|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
|
|
beto-rodriguez/LiveCharts2
Simple, flexible, interactive & powerful charts, maps and gauges for .Net, LiveCharts2 can now practically run everywhere Maui, Uno Platform, Blazor-wasm, WPF, WinForms, Xamarin, Avalonia, WinUI, UWP.
|
|
microsoft/dotnet-podcasts
.NET 6 reference application shown at .NET Conf 2021 featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, and more!
|
|
dotnet/Comet
Comet is an MVU UIToolkit written in C#
|
Version | Downloads | Last updated |
---|---|---|
1.0.3.1 | 45,066 | 5/2/2022 |
1.0.1 | 20,041 | 3/30/2022 |
1.0.0.30 | 59,979 | 11/17/2021 |
1.0.0.29-preview3 | 21,332 | 10/28/2021 |
1.0.0.28-preview2 | 1,154 | 10/14/2021 |
1.0.0.27-preview1 | 606 | 10/5/2021 |
1.0.0.26-experimental1 | 4,200 | 9/9/2021 |
0.8.7.1 | 234 | 4/11/2022 |
0.8.7-preview1 | 107 | 2/3/2022 |
0.8.6 | 245 | 12/14/2021 |
0.8.2.23 | 1,438 | 8/17/2021 |
0.8.0.21 | 17,882 | 6/24/2021 |
0.5.7.20 | 534 | 5/26/2021 |
0.5.0.14 | 1,211 | 5/7/2021 |
0.5.0.13 | 10,095 | 4/12/2021 |
0.5.0.12 | 892 | 4/1/2021 |