AGENT.Contrib.Drawing.Rectangle.Rectangle C# (CSharp) Méthode

Rectangle() public méthode

Initializes a new instance of the System.Drawing.Rectangle class with the specified location and size.
public Rectangle ( Point location, Size size ) : System
location Point A System.Drawing.Point that represents the upper-left corner of the rectangular region.
size Size A System.Drawing.Size that represents the width and height of the rectangular region.
Résultat System
        public Rectangle(Point location, Size size)
            : this(location.X, location.Y, size.Width, size.Height)
        {
        }

Same methods

Rectangle::Rectangle ( int x, int y, int width, int height ) : System