Package com.badlogic.gdx.scenes.scene2d.ui.tablelayout.LibgdxToolkit

Examples of com.badlogic.gdx.scenes.scene2d.ui.tablelayout.LibgdxToolkit.DebugRect


    int viewHeight = Gdx.graphics.getHeight();

    debugRenderer.begin(batch.getProjectionMatrix(), GL10.GL_LINES);
    for (int i = 0, n = debugRects.size; i < n; i++) {
      DebugRect rect = debugRects.get(i);
      float x1 = x + rect.x;
      float y1 = y - rect.y - rect.height;
      float x2 = x1 + rect.width;
      float y2 = y1 + rect.height;
      float r = (rect.type & DEBUG_CELL) != 0 ? 1 : 0;
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.scenes.scene2d.ui.tablelayout.LibgdxToolkit.DebugRect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.