System.Drawing.Rectangle.Rectangle C# (CSharp) Method

Rectangle() public method

Initializes a new instance of the Rectangle class with the specified location and size.

public Rectangle ( Point location, Size size ) : System.Diagnostics.Contracts
location Point
size Size
return System.Diagnostics.Contracts
        public Rectangle(Point location, Size size)
        {
            _x = location.X;
            _y = location.Y;
            _width = size.Width;
            _height = size.Height;
        }

Same methods

Rectangle::Rectangle ( System location, System size )
Rectangle::Rectangle ( int x, int y, int width, int height )
Rectangle::Rectangle ( int x, int y, int width, int height ) : System.Diagnostics.Contracts