Class DebugRect


  • public class DebugRect
    extends DebugDraw
    Draw a debug rectangle
    Author:
    Riju De
    • Constructor Summary

      Constructors 
      Constructor Description
      DebugRect​(com.badlogic.gdx.math.Vector2 bLeft, com.badlogic.gdx.math.Vector2 size, int width, com.badlogic.gdx.graphics.Color colour)  
    • Method Summary

      Modifier and Type Method Description
      void Draw​(com.badlogic.gdx.math.Matrix4 projectionMatrix)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DebugRect

        public DebugRect​(com.badlogic.gdx.math.Vector2 bLeft,
                         com.badlogic.gdx.math.Vector2 size,
                         int width,
                         com.badlogic.gdx.graphics.Color colour)
        Parameters:
        bLeft - Bottom left of the rectangle
        size - Dimensions of the rectangle (Width, Length)
        width - Width of the line
        colour - Colour to draw
    • Method Detail

      • Draw

        public void Draw​(com.badlogic.gdx.math.Matrix4 projectionMatrix)
        Specified by:
        Draw in class DebugDraw