Sprite - selflash/ofxSelflash GitHub Wiki

display/Sprite

Sprite()
~Sprite()

void update()
void draw()

float width()
void width(float value)
float height()
void height(float value)
    
float scaleX()
void scaleX(float value)
float scaleY()
void scaleY(float value)
    
float alpha()
void alpha(float value)
    
Graphics* graphics()
    
//TODO
Sprite* hitArea()
void hitArea(Sprite* value)
    
bool hitTestPoint(float x, float y, bool shapeFlag = false)
    
void useHandCursor(bool value)
bool useHandCursor()
void startDrag(bool lockCenter = false, Rectangle* bounds = NULL)
void stopDrag()
⚠️ **GitHub.com Fallback** ⚠️