且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在C#winforms中使用Alphablending?

更新时间:2023-12-05 17:33:22

与透明控件相比,半透明位图得到了很好的支持,而透明控件在WPF中得到了很好的支持,但没有得到支持。在表格中。只是画它们。如果您在另一个上面绘制一个,透明像素也会正确显示。



-SA
Semi-transparent bitmaps are well supported, in contrast to transparent controls, which are well supported in WPF, but not in Forms. Just draw them. If you draw one on top of another, transparent pixels are also shown correctly.

—SA