Sharp.Canvas 1.0.5

dotnet add package Sharp.Canvas --version 1.0.5
                    
NuGet\Install-Package Sharp.Canvas -Version 1.0.5
                    
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.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sharp.Canvas" Version="1.0.5" />
                    
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.0.5
                    
#r "nuget: Sharp.Canvas, 1.0.5"
                    
#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.
#addin nuget:?package=Sharp.Canvas&version=1.0.5
                    
Install Sharp.Canvas as a Cake Addin
#tool nuget:?package=Sharp.Canvas&version=1.0.5
                    
Install Sharp.Canvas 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 is compatible.  net5.0-windows was computed.  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.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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.0.5 219 3/5/2025
1.0.4 138 9/2/2024
1.0.3 142 8/23/2024
1.0.2 157 8/10/2024
1.0.1 93 7/25/2024
1.0.0 150 7/19/2024

Fix Bugs