axmol/tools/tolua++/CCRibbon.pkg

21 lines
511 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
class CCRibbon: public CCNode
{
2012-02-02 14:26:38 +08:00
void setTexture(CCTexture2D* val);
CCTexture2D* getTexture();
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
void setTextureLength(float val);
float getTextureLength();
2011-06-14 14:31:25 +08:00
2013-07-08 11:34:31 +08:00
void setBlendFunc(BlendFunc val);
BlendFunc getBlendFunc();
2011-06-14 14:31:25 +08:00
2013-07-08 11:34:31 +08:00
void setColor(Color4B val);
Color4B getColor();
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
void addPointAt(CCPoint location, float width);
float sideOfLine(CCPoint p, CCPoint l1, CCPoint l2);
2011-06-14 14:31:25 +08:00
2013-07-08 11:34:31 +08:00
static CCRibbon * create(float w, const char *path, float length, Color4B color, float fade);
2011-06-14 14:31:25 +08:00
};