编程语言
首页 > 编程语言> > c#自定义Pen、Brush颜色

c#自定义Pen、Brush颜色

作者:互联网

        private static Pen pencolor = Pens.Red;//系统自带颜色
        private static Pen CustomizePenColor = new Pen(Color.FromArgb(0, 0, 0));//自定义RGB
        private static Brush brushcolor = Brushes.White;//系统自带颜色
        private static Brush CustomizeBrushColor = new SolidBrush(Color.FromArgb(0, 0, 0));//自定义RGB

 

标签:自定义,c#,RGB,private,Pen,static,Brush
来源: https://blog.csdn.net/shenzhenzhao/article/details/97925833