////////////随机颜色***//////////////////////////
private getRdmClr(): number {
return (Math.floor(Math.random() * 0xff) << 16)
+ (Math.floor(Math.random() * 0xff) << 8)
+ Math.floor(Math.random() * 0xff);
}
Egret_简单的封装方法
猜你喜欢
转载自www.cnblogs.com/Ms-Sake/p/9978921.html
今日推荐
周排行