public void addDebugRectangle( TableLayout layout, Debug type, float x, float y, float w, float h) { drawDebug = true; if (layout.debugRects == null) layout.debugRects = new Array(); layout.debugRects.add(new DebugRect(type, x, layout.getTable().getHeight() - y, w, h)); }