OpenTK.Box2.FromTLRB C# (CSharp) Méthode

FromTLRB() public static méthode

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.
Résultat Box2
        public static Box2 FromTLRB(float top, float left, float right, float bottom)
        {
            return new Box2(left, top, right, bottom);
        }