Renderable 组件
任何绘制在舞台上的实体的组件。
事件
- Invalidate
- 当实体需要重绘时触发
属性
方法
Back to top
.flip()
事件
- Invalidate
- 当实体翻转时触发
public this .flip(String dir)
- dir
翻转方向
在传递方向上翻转实体
例子
this.flip("X")
Back to top
.unflip()
Events
- Invalidate
- 当实体逆翻转时触发
public this .unflip(String dir)
- dir
逆翻转的方向
在传入的方向上逆翻转实体(如果实体被翻转过)
例子
this.unflip("X")