Microsoft.Xna.Framework.Graphics.Viewport.ToString C# (CSharp) Method

ToString() public method

Returns a String representation of this Viewport in the format: {X:[X] Y:[Y] Width:[Width] Height:[Height] MinDepth:[MinDepth] MaxDepth:[MaxDepth]}
public ToString ( ) : string
return string
        public override string ToString ()
	    {
	        return "{X:" + x + " Y:" + y + " Width:" + width + " Height:" + height + " MinDepth:" + minDepth + " MaxDepth:" + maxDepth + "}";
	    }
    }