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

RectangleF() public method

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

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

Same methods

RectangleF::RectangleF ( System location, System size )
RectangleF::RectangleF ( float x, float y, float width, float height )
RectangleF::RectangleF ( float x, float y, float width, float height ) : System.Diagnostics.Contracts