大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0015 秒)
...line = "center";//文本相对于起点的位置 //设置文字,位置 cxt.fillText("-10000", 100, 50, 200);//有填充cxt.font="bold 60px 宋体"; let texture2D = new Laya.Texture2D(256, 256); //=====================这里如果在填充新的文字 会有所有的文字信息 ==================...
来源: Laya_社区 发布时间: 20191211
...line = "center";//文本相对于起点的位置 //设置文字,位置 cxt.fillText("-" + hart.toString(), 100, 50, 200);//有填充cxt.font="bold 60px 宋体"; this.texture2D = new Laya.Texture2D(256, 256); this.texture2D.loadImageSource(this.cav); this.mat.renderMode = Laya.UnlitMaterial.RENDERMOD...
来源: Laya_社区 发布时间: 20200714
...ctxFont, color, style.strokeColor, style.stroke, textAlgin); else graphics.fillText(_word, x, y, ctxFont, color, textAlgin); } //不再是每行绘制一次,而是每行根据关键字绘制多次 nowX += this.getTextWidth(line['text']); } } if (tCurrBitmapFont && tCurrBitmapFont.autoScale...
来源: Laya_社区 发布时间: 20180417