ASP.NET 画图与图像处理-GraphicsPath

作者:vkvi 来源:ITPOW(原创) 日期:2007-8-30

GraphicsPath 可以将多个路径合在一起,形成一个不规则的形状,然后可以画或填充这个形状。用法很简单:

GraphicsPath graphicsPath = new GraphicsPath();
graphicsPath.AddLine(0, 0, 0, 1);
graphicsPath.AddLine(0, 1, 3, 3);

另外还有:AddArc、AddPie、AddPath 等等实用方法。

相关文章