大约有 386 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(274) Laya2.0_文档(23) Laya3.0_api(19) Laya2.0_api(17) Laya2.0_示例(15) Laya3.0_文档(14) Laya_示例(13) laya_api(11)
...orderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否为斜体 */ italic?: number; /** * 行间距 */ leading?: number; /** * 描边宽度 */ stroke?: number; /** * 描边颜色 */ strokeColor?: string; /** * ...
来源: Laya_社区 发布时间: 20171226
关于位图字体 是这样注册,吗 Laya.loader.load("res/font.fnt", Laya.Handler.create(this, this.onLoaded),null,Laya.Loader.FONT); 应该没什么问题了,就是这样的 附件 : --> 2017-02-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170207
...ish.scoreGold); // 价格 fish.scoreText = new Laya.Text(); fish.scoreText.font = "fnt_10103"; // fish.scoreText.cacheAs = 'bitmap'; fish.scoreText.x = fish.scoreGold.width + fish.scoreGold.x - 4; fish.scoreText.y = fish.scoreGold.y + 2; fish.scoreText.text = price; this.scoreBox.addChild(...
来源: Laya_社区 发布时间: 20180516
...属性BUG var htmlDiv:HTMLDivElement = new HTMLDivElement(); htmlDiv.style.fontSize = 25; htmlDiv.style.color = "#ffffff"; Laya.stage.addChild(htmlDiv); htmlDiv.innerHTML = "<font color='#00ff00'>宝石1<br/>宝石2</font>";用了1.7.17版本测试,未解决,麻烦官方测试...
来源: Laya_社区 发布时间: 20180419
...LDivElement; let p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; let html = "使用"; html += "HTMLDivElement"; html += "创建的"; html += "HTML文本"; p.innerHTML = html; } showExternalHTML() { const HTMLIframeElement = Laya.HTMLIframeElement; le...
来源: Laya2.0_示例 发布时间: 20251130
...ater() { console.log("onCallLater triggered"); var text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.a...
来源: Laya_示例 发布时间: 20251130
...ya.Text; console.log("onCallLater triggered"); let text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.width, Laya.stage.height); text.wordWrap = true; text.valign = "middle"; text.a...
来源: Laya2.0_示例 发布时间: 20251130
FontClip引起IDE崩溃 我在IDE中添加了Font Clip之后,发现Font Clip的skin和value不能同时为空,否则IDE就会卡死,不知道在游戏中会不会也卡死 2017-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170523
HTMLDivElement里的文字无法被选中 innerHTML = "<span style='font-weight:bold;" + "font:24px Arial' " + "color='red' " + "href='http://ask.layabox.com/www.baidu.com'>" + "LayaBox</span><span>欢迎你的加入</span>" 添加到界面 可以显示出来但文字无法...
来源: Laya_社区 发布时间: 20190314
...功,在index.html中我是这么写的 <style> @font-face { font-family: yy; src: url("yy.ttf") } </style> 但是打包ipa在iphone上运行显示“不支持style”“不支持div”等等 请问该怎么加载tt...
来源: Laya_社区 发布时间: 20170523