Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 WPF 中填充图像的一个区域。类似于 Paint 中的桶的东西。我该怎么做?我正在考虑获取鼠标下的像素颜色,并更改附近具有相同颜色的所有像素。有没有更简单的方法?
我应该使用什么?可写位图?
谢谢
是的,WriteableBitmap是继续这一点恕我直言的最佳方式。