egret 图片居中
摘要:public static changeZhucedian(obj1: egret.DisplayObject) { obj1.anchorOffsetX = obj1.width>>1; obj1.anchorOffsetY = obj1.height>>1; obj1.x+=obj1.width
阅读全文
posted @
2022-04-20 11:28
我是cdt
阅读(68)
推荐(0) 编辑
egret 文本应用html标签
摘要:this.title_label.textFlow = new egret.HtmlTextParser().parser( "<font >" + param.part_data.title + " " + "</font>" + "<font color='#cccccc'>" + "[ " +
阅读全文
posted @
2022-04-20 09:39
我是cdt
阅读(155)
推荐(1) 编辑