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

Rectangle() public method

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

public Rectangle ( int x, int y, int width, int height ) : System.Diagnostics.Contracts
x int
y int
width int
height int
return System.Diagnostics.Contracts
        public Rectangle(int x, int y, int width, int height)
        {
            _x = x;
            _y = y;
            _width = width;
            _height = height;
        }

Same methods

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