Solid Bitmap
using System;
using odl;
namespace TestNamespace
{
class Program
{
public static void Main(string[] args)
{
Graphics.Start();
Window w = new Window();
w.Initialize();
Sprite s = new Sprite();
s.Bitmap = new SolidBitmap(w.Width, w.Height, Color.RED);
w.Show();
while (Graphics.CanUpdate())
{
Graphics.Update();
}
Graphics.Stop();
}
}
}

Last updated