diff --git a/engine/src/core/com/jme3/font/Rectangle.java b/engine/src/core/com/jme3/font/Rectangle.java index b65e2337d..e3bb90dd8 100644 --- a/engine/src/core/com/jme3/font/Rectangle.java +++ b/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 + "]"; + } } \ No newline at end of file