public String toString() {return String.format("Rect [(%d,%d)-(%d,%d): %dx%d]", x, y, x + w, y + h, w, h);}

public override string ToString(){java.lang.StringBuilder sb = new java.lang.StringBuilder(32);sb.append("Rect(");sb.append(left);sb.append(", ");sb.append(top);sb.append(" - ");sb.append(right);sb.append(", ");sb.append(bottom);sb.append(")");return sb.ToString();}
