axmol/tools/tolua++/CCRibbon.pkg

21 lines
530 B
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
class CCRibbon: public CCNode
{
void setTexture(CCTexture2D* val);
CCTexture2D* getTexture();
2011-06-14 14:31:25 +08:00
void setTextureLength(float val);
float getTextureLength();
2011-06-14 14:31:25 +08:00
void setBlendFunc(ccBlendFunc val);
ccBlendFunc getBlendFunc();
2011-06-14 14:31:25 +08:00
void setColor(ccColor4B val);
ccColor4B getColor();
2011-06-14 14:31:25 +08:00
void addPointAt(CCPoint location, float width);
float sideOfLine(CCPoint p, CCPoint l1, CCPoint l2);
2011-06-14 14:31:25 +08:00
static CCRibbon * ribbonWithWidth(float w, const char *path, float length, ccColor4B color, float fade);
2011-06-14 14:31:25 +08:00
};