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

Rectangle() public method

Rectangle Constructor
Creates a Rectangle from a specified x,y location and width and height values.
public Rectangle ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
return System
        public Rectangle(int x, int y, int width, int height)
        {
            this.x = x;
            this.y = y;
            this.width = width;
            this.height = height;
        }

Same methods

Rectangle::Rectangle ( Point location, Size size ) : System