Skip to content
Tatsuya Yokoda edited this page Feb 8, 2015 · 1 revision

display/DisplayObject

void setup()
void update()
void draw()

string name()
void name(string value)

DisplayObject* stage()
void stage(DisplayObject* value)

DisplayObject* parent()
void parent(DisplayObject* value)

DisplayObject* mask()
void mask(DisplayObject* value)

float x()
void x(float value)

float y()
void y(float value)

float z()
void z(float value)

float width()
void width(float value)

float height()
void height(float value)

//const float& scale()
//void scale(float value)

float scaleX()
void scaleX(float value)

float scaleY()
void scaleY(float value)

float scaleZ()
void scaleZ(float value)

float rotation()
void rotation(float value)

float rotationX()
void rotationX(float value)

float rotationY()
void rotationY(float value)

float rotationZ()
void rotationZ(float value)

float alpha()
void alpha(float value)
//const float& compoundAlpha()

bool visible()
void visible(bool value)

int blendMode()
void blendMode(int value)

int level()
void level(int value)

const Matrix& matrix()
void matrix(const Matrix& mat)

const Matrix& concatenatedMatrix()

Rectangle getRect(DisplayObject* targetCoordinateSpace)

bool hitTestObject(DisplayObject* obj)
bool hitTestPoint(float x, float y, bool shapeFlag = false)

ofPoint	globalToLocal(const ofPoint& point)

ofPoint	globalToLocal3D(const ofPoint& point)

ofPoint	local3DToGlobal(const ofPoint& point)

ofPoint	localToGlobal(const ofPoint& point)

void transform(const Matrix& mat)

bool smoothing()
void smoothing(bool value)

int mouseX()
int mouseY()
Clone this wiki locally