浏览我们的产品 Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
在 Pen 中实现了独立的 StartCap 和 EndCap,使您可以通过 API 在绘制线条的开头和结尾处更灵活地设置帽子样式。以下 C# 代码示例如何使用 API 绘制不同颜色的线条:
// For complete examples and data files, please go to https://github.com/aspose-drawing/Aspose.Drawing-for-.NET using System.Drawing; Bitmap bitmap = new Bitmap(1000, 800, System.Drawing.Imaging.PixelFormat.Format32bppPArgb); Graphics graphics = Graphics.FromImage(bitmap); Pen bluePen = new Pen(Color.Blue, 2); graphics.DrawLine(bluePen, 100, 100, 900, 100); Pen redPen = new Pen(Color.FromArgb(255, 255, 0, 0), 2); graphics.DrawLine(redPen, 100, 200, 900, 200); bitmap.Save("Colors.png");
添加了各种类型的标准line cap shapes,例如,平面、方形、圆形、三角形、DiamondAnchor、RoundAnchor、自定义等。
TIFF
此版本增强了对 TIFF(标记图像文件格式)光栅图形的支持。
有关此版本中的功能、增强功能和错误修复的完整列表,请访问 Aspose.Drawing for .NET 22.2 Release Notes。