OpenTK.Graphics.Rectangle.Rectangle C# (CSharp) Method

Rectangle() public method

Rectangle Constructor
Creates a Rectangle from Point and Size values.
public Rectangle ( Point location, Size size ) : System
location Point
size Size
return System
        public Rectangle(Point location, Size size)
        {
            x = location.X;
            y = location.Y;
            width = size.Width;
            height = size.Height;
        }

Same methods

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