C#中自定义一个Brush,使用Color赋RGB值给Brush

时间:2020-04-27 21:33:30   收藏:0   阅读:159

C#中自定义一个Brush,使用Color赋RGB值给Brush:

Brush MyBrush = new SolidBrush(Color.FromArgb(255, 0, 0));

 

原文:https://www.cnblogs.com/ming-4/p/12789824.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!