#include <PhRect.h>
Public Member Functions | |
PhRect () | |
Constructor. | |
PhRect (float a, float b, float c, float d) | |
Constructor. | |
void | set (float a, float b, float c, float d) |
Set. | |
float | getX () |
Get X. | |
float | getY () |
Get Y. | |
float | getHeight () |
Get Height. | |
float | getWidth () |
Get Width. | |
void | setX (float a) |
Set X. | |
void | setY (float b) |
Set Y. | |
void | setHeight (float c) |
Set Height. | |
void | setWidth (float d) |
Set Width. |
Simple class that represents a rectangle.
phoenix::PhRect::PhRect | ( | float | a, | |
float | b, | |||
float | c, | |||
float | d | |||
) |
Constructor.
Makes a rectangle with the given dimensions.
a | X | |
b | Y | |
c | Width | |
d | Height |
void phoenix::PhRect::set | ( | float | a, | |
float | b, | |||
float | c, | |||
float | d | |||
) |
Set.
Sets the rectangle to the given dimensions.
a | X | |
b | Y | |
c | Width | |
d | Height |