public virtual void Render(Graphics g) { Bitmap bmp = GetBitmap(); if (bmp != null) { g.DrawImage(bmp, X1.Floor(), Y1.Floor(), (float)bmp.Width, (float)bmp.Height); } }