#include <lvt/2d.h>
Inheritance diagram for Rectangle2D:

Public Member Functions | |
| int | GetHeight () const |
| Returns the rectangle's height. | |
| int | GetWidth () const |
| Returns the rectangle's width. | |
| virtual void | Render () |
| Renders the object. | |
| void | SetHeight (int h) |
| Sets the rectangle's height. | |
| void | SetSize (int w, int h) |
| Sets the size and and shape of the rectangle. | |
| void | SetWidth (int w) |
| Sets the rectangle's width. | |
|
|
Returns the rectangle's height.
|
|
|
Returns the rectangle's width.
|
|
|
Renders the object. A call to render on a 2D object also flushes the OpenGL output buffer. Implements Shape2D. |
|
|
Sets the rectangle's height.
|
|
||||||||||||
|
Sets the size and and shape of the rectangle.
|
|
|
Sets the rectangle's width.
|
1.4.1