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