Sharp.Canvas 1.1.2

dotnet add package Sharp.Canvas --version 1.1.2
                    
NuGet\Install-Package Sharp.Canvas -Version 1.1.2
                    
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="Sharp.Canvas" Version="1.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sharp.Canvas" Version="1.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Sharp.Canvas" />
                    
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 Sharp.Canvas --version 1.1.2
                    
#r "nuget: Sharp.Canvas, 1.1.2"
                    
#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 Sharp.Canvas@1.1.2
                    
#: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=Sharp.Canvas&version=1.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Sharp.Canvas&version=1.1.2
                    
Install as a Cake Tool

SharpCanvas

  • Click Down Below to switch language for details .
  • 点击下方切换语言查看详细信息。

en ch

SharpCanvas 是一个轻量级且易于使用的 WPF 控件,用于绘制和渲染 2D 图形。 它提供了一个简单直观的 API 来绘制形状、文本和图像, 并支持广泛的绘图选项,如填充、描边和阴影。

还支持交互性,包括用于编辑形状的鼠标和触摸输入; 缩放、平移和选择也支持交互式编辑。

最后,您可以将绘制的图形导出为任意大小的位图, 画布中的形状将被保留并保持比例。

SharpCanvas is a lightweight and easy-to-use WPF control for drawing and rendering 2D graphics. It provides a simple and intuitive API for drawing shapes, text, and images, and supports a wide range of drawing options such as fill, stroke, and shadow.

Also supports interactivity, including mouse and touch input for editing shapes; Zooming, panning, and selection is also supported for interactive editing.

Finally, you can export the drawn graphics as a bitmap in any size, and the shapes in canvas would be preserved and keep ratio.

Install

You can install SharpCanvas from NuGet Package Manager.

Install-Package Sharp.Canvas
Product Compatible and additional computed target framework versions.
.NET net5.0-windows7.0 is compatible.  net6.0-windows was computed.  net7.0-windows was computed.  net8.0-windows was computed.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.
  • net5.0-windows7.0

    • No dependencies.

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
1.1.2 172 12/23/2025
1.1.1 170 12/23/2025
1.1.0 188 11/27/2025
1.0.9 196 10/14/2025
1.0.7 111 10/11/2025
1.0.5 286 3/5/2025