大约有 162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya_社区(133) Laya3.0_文档(8) Laya2.0_文档(7) Laya_示例(4) Laya3.0_api(4) Laya2.0_示例(4) laya_api(1) Laya2.0_api(1)
...无效? this.labaContent = new Laya.HTMLDivElement(); this.labaContent.style.fontSize = 22; this.labaContent.style.width=100; this.labaContent.style.wordWrap=false; this.labaContent.x = 60; this.labaContent.y = 5; 为什么还是不行呢?请问 我的文本是通过innerHTML <span>输出...
来源: Laya_社区 发布时间: 20170915
...button.type='button'; button.value ='逐加'; button.src = "xxxxx"; button.style.width = '40px'; button.style.height = '40px'; button.style.background = "../../../bin/res/atlas/assets.png"; // mapDivx.appendChild(input); mapDivx.appendChild(button); 以上代码 全部信息 都可以显示 butto...
来源: Laya_社区 发布时间: 20170619
...文本,无法限制输入字数,你可以控制htmlDivElement的html.style.width,,,通过控制文本的宽度来限制每行输入的字数! 2017-09-14 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 dear_H 相关问题 HTMLD...
来源: Laya_社区 发布时间: 20170914
... 怎么里面内容没法正常显示,里面的html代码是 <div style="font-size:60;width:900px">aaaa</div><div style="font-size:60">bbbbbbbbbbbb</div><div style="font-size:60">cccccccccccc</div><div style="font-size:60">dddddddddd</div><div...
来源: Laya_社区 发布时间: 20170527
...mage/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行上边这段代码呢?打开谷歌浏览器,随便打开一个空白网页,F12,把上面的代码粘贴到控制台...
来源: Laya2.0_文档 发布时间: 20210715
...="100%" height="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px...
来源: Laya3.0_文档 发布时间: 20251010
...sWord : Boolean 表示是否是正常单词(英文|.|数字)。HTMLChar style : CSSStyle CSS 样式。HTMLChar width : Number 宽度。 HTMLChar x : Number 此对象存储的 X 轴坐标值。 当设置此值时,如果此对象有绑定的 Sprite 对象,则改变 Sprite 对象的属性 ...
来源: laya_api 发布时间: 20170422
...sk.layabox.com/question/4533 问过,使用Laya.Render._mainCanvas.source.style来设置canvas的属性,这个方法可以,不会发生偏移,但是无法放到我要的位置啊,具体请看图,这问题搞了2天了,求指导 附件 : --> 2017-08-18 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170818
...ox引擎編輯下需增加如題的黑底,自行在 Body 標籤後加上 style="background-color:#000" 即可。 2017-07-25 2 2 分享 微博 QZONE 微信 Playerdata1 赞同来自: Supermang42 是这个把 但里面并没有 background-color 属性 2017-07-25 1 3 分享 微...
来源: Laya_社区 发布时间: 20170329
...oid { var iframe:Object = Browser.document.createElement("iframe"); iframe.style.position ="absolute";//设置布局定位。这个不能少。 iframe.style.zIndex = 100;//设置层级 iframe.style.left ="100px"; iframe.style.top ="100px"; iframe.src = "http://ask.layabox.com/"; Browser.document.bod...
来源: Laya_社区 发布时间: 20180223