toString method

  1. @override
String toString()
override

Returns a nice string representing the box. @return {string} In the form (50t, 73r, 24b, 13l). @override

Implementation

@override
String toString()
{
  return "(" + this.top.toString() + "t, " + this.right.toString() + "r, " + this.bottom.toString() + "b, " + this.left.toString() + "l)";
}