Package util.debug
Class DebugRect
java.lang.Object
util.debug.DebugPrimitive
util.debug.DebugRect
A Rectangle Primitive for the Debug Renderer
-
Field Summary
Fields inherited from class util.debug.DebugPrimitive
lines
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
reset
(float x, float y, float width, float height) Recalculates start and end points of the linesMethods inherited from class util.debug.DebugPrimitive
getLines
-
Constructor Details
-
DebugRect
Constructs the Rectangle at given x, y location with width and height and specified color- Parameters:
x
- x position of the recty
- y position of the rectwidth
- width of the rectheight
- height of the rectcolor
- color of the rect
-
-
Method Details
-
reset
public void reset(float x, float y, float width, float height) Recalculates start and end points of the lines- Parameters:
x
- x position of the recty
- y position of the rectwidth
- width of the rectheight
- height of the rect
-