Пример #1
0
		public static DesktopBrush Solid(System.Drawing.Color color)
		{
			DesktopBrush brush = new DesktopBrush (new SolidBrush (color));
			brush.Type = BrushType.Solid;
			brush.Color = color.Convert();
			return brush;
		}
Пример #2
0
		public static DesktopBrush Solid(AGS.API.Color color)
		{
			DesktopBrush brush = new DesktopBrush (new SolidBrush (color.Convert()));
			brush.Type = BrushType.Solid;
			brush.Color = color;
			return brush;
		}
Пример #3
0
        public static DesktopBrush Solid(System.Drawing.Color color)
        {
            DesktopBrush brush = new DesktopBrush(new SolidBrush(color));

            brush.Type  = BrushType.Solid;
            brush.Color = color.Convert();
            return(brush);
        }
Пример #4
0
        public static DesktopBrush Solid(AGS.API.Color color)
        {
            DesktopBrush brush = new DesktopBrush(new SolidBrush(color.Convert()));

            brush.Type  = BrushType.Solid;
            brush.Color = color;
            return(brush);
        }
Пример #5
0
 public IBrush LoadSolidBrush(Color color)
 {
     return(DesktopBrush.Solid(color));
 }