From b9274a3ed252497346490934fe60a9a7898df9e6 Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Sun, 4 Nov 2012 06:57:29 +0000 Subject: [PATCH] Added Rectangle.toString() git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9949 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/font/Rectangle.java | 4 ++++ 1 file changed, 4 insertions(+) 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