Rectangle - selflash/ofxSelflash GitHub Wiki

geom/Rectangle

Rectangle(float x = 0, float y = 0, float width = 0, float height = 0)
~Rectangle()

float x() const
void x(float value)

float y() const
void y(float value)

float left() const
void left(float value)

float right() const
void right(float value)

float top() const
void top(float value)

float bottom() const
void bottom(float value)

ofPoint& topLeft() const
void topLeft(ofPoint& value)

ofPoint& bottomRight() const
void bottomRight(ofPoint& value)

float size()

float width()
void width(float value)

float height()
void height(float value)

bool isNull() const
bool pointTest(float x, float y)

bool isChanged()
⚠️ **GitHub.com Fallback** ⚠️