Ejemplo n.º 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;
		}
Ejemplo n.º 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;
		}
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 5
0
 public IBrush LoadSolidBrush(Color color)
 {
     return(DesktopBrush.Solid(color));
 }