示例#1
0
 /**
  * Returns a textual representation of the appearance of the object.
  *
  * @param view the view to visualize
  */
 public static String visualize(View view) {
   Canvas canvas = new Canvas();
   view.draw(canvas);
   return shadowOf(canvas).getDescription();
 }