ARCed.XnaExtensions.ToSystemRect C# (CSharp) Method

ToSystemRect() public static method

Converts a Microsoft.Xna.Framework.Rectangle to a System.Drawing.Rectangle and returns it.
public static ToSystemRect ( this rect ) : System.Drawing.Microsoft.Xna.Framework.Rectangle
rect this Rectangle to convert
return System.Drawing.Microsoft.Xna.Framework.Rectangle
        public static System.Drawing.Rectangle ToSystemRect(this Rectangle rect)
        {
            return new System.Drawing.Rectangle(rect.X, rect.Y, rect.Width, rect.Height);
        }