C#中画点的函数是什么?

jerryfangsh 2002-09-05 11:01:33
C#找不到画点的函数,那位朋友指点一下
...全文
51 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
saucer 2002-09-05
  • 打赏
  • 举报
回复
System.Drawing.Graphics does not have a DrawPoint or DrawPixel or SetPixel method, but you could try the simple way, use its FillEllipse() method with small width/height, or you can go the complicated way, create a Bitmap with width/height of 1, use Bitmap's SetPixel method, then call Graphics.DrawImage method to draw the Bitmap onto the screen

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧