OpenTK.Box2.FromTLRB C# (CSharp) Method

FromTLRB() public static method

Creates a new Box2 with the specified dimensions.
public static FromTLRB ( float top, float left, float right, float bottom ) : Box2
top float The position of the top boundary.
left float The position of the left boundary.
right float The position of the right boundary.
bottom float The position of the bottom boundary.
return Box2
        public static Box2 FromTLRB(float top, float left, float right, float bottom)
        {
            return new Box2(left, top, right, bottom);
        }