Terraria.Graphics.Capture.CaptureInterface.GetArea C# (CSharp) Method

GetArea() public static method

public static GetArea ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle
        public static Rectangle GetArea()
        {
            return new Rectangle(Math.Min(EdgeA.X, EdgeB.X), Math.Min(EdgeA.Y, EdgeB.Y), Math.Abs(EdgeA.X - EdgeB.X) + 1, Math.Abs(EdgeA.Y - EdgeB.Y) + 1);
        }