Added Rectangle.toString()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
PSp..om 12 years ago
parent bf782ac840
commit b9274a3ed2
  1. 4
      engine/src/core/com/jme3/font/Rectangle.java

@ -61,4 +61,8 @@ public class Rectangle implements Cloneable {
throw new AssertionError();
}
}
public String toString() {
return getClass().getSimpleName() + "[x=" + x + ", y=" + y + ", width=" + width + ", height=" + height + "]";
}
}
Loading…
Cancel
Save