toString method

  1. @override
String toString()
override

转换为字符串

Implementation

@override
String toString() {
  return "width:" + width.toString() + ",height:" + height.toString();
}