ofRectangle methods
ofRectangle::ofRectangle()
ofRectangle::ofRectangle(float _x, float _y, float _w, float _h)
ofRectangle::~ofRectangle()
ofRectangle::ofRectangle(ofPoint pos, float w, float h)
ofRectangle::ofRectangle(ofRectangle const &r)
void ofRectangle::set(float px, float py, float w, float h)
void ofRectangle::set(ofPoint pos, float w, float h)
void ofRectangle::set(ofRectangle const &rect)
void ofRectangle::setFromCenter(float px, float py, float w, float h)
void ofRectangle::setFromCenter(ofPoint pos, float w, float h)
ofPoint ofRectangle::getCenter()
bool ofRectangle::inside(ofPoint p)
bool ofRectangle::inside(float px, float py)
ofRectangle ofRectangle::operator=(const ofRectangle &rect)
bool ofRectangle::operator==(ofRectangle const &r)
bool ofRectangle::operator!=(ofRectangle const &r)
ofRectangle ofRectangle::operator+(const ofPoint &point)
ofRectangle variables
float x
float ofRectangle::x
x variable contains the x coordinate of our ofRectangle.
float y
float ofRectangle::y
y variable contains the y coordinate of our ofRectangle.
float ofRectangle::width
width variable contains the width of our ofRectangle.
float ofRectangle::height
height variable contains the height of our ofRectangle.