大约有 31 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0036 秒)
... 伪代码如下: var nPercent=0; var image1 = document.createElement('img'); image1.onload=function() { if(window.loadingView){ nPercent+=33; window.loadingView.loading(nPercent); } } image1.src = "a.png"; var image2 = document.createElement('img'); image2.onload=function() { if(window.loadingVie...
来源: Laya3.0_文档 发布时间: 20250310
...== 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); 上面这...
来源: Laya3.0_文档 发布时间: 20230303
...源和其它资源分开存放。 3,atlas目录下,有两张图片(img_bg100-0.png和img_bg100-1.png)和子文件夹ui1、ui2,里面分别有很多散图,同时ui1目录下还有 a子文件夹。 如果不进行图集打包,那么在发布后,输出目录下的 atlas 目录里都是...
来源: Laya3.0_文档 发布时间: 20250103
...ht reserved,powered by LayaAir Engine更新时间: 2025-01-03 11:55:20 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20250103
...ht reserved,powered by LayaAir Engine更新时间: 2023-03-03 17:34:15 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20230303
...持的UBB语法如下表所示: 语法结构 示例代码 语句说明 [img]image_url[/img] [img]atlas/comp/image.png[/img] 显示一张图片 [url=link_href]text[/url] [url='www.layabox.com']蓝亚盒子[/url] 显示一个超级链接 [b]text[/b] [b]这些字是粗体[/b] 设置文本为粗体 [i...
来源: Laya3.0_文档 发布时间: 20240910
...st = list; } private updateItem(cell: Item, index: number): void { cell.setImg(cell.dataSource); } private onSelect(index: number): void { console.log("当前选择的索引:" + index); } } class Item extends Laya.Box { static WID: number = 373; static HEI: number = 85; private img: Laya.Image; co...
来源: Laya3.0_文档 发布时间: 20240910
...签,p标签会自动换行,div不会,比如:<p>abc</p> * img:图片标签,比如:<img src='res/boy.png'></img> * br:换行标签,比如:<div>abc<br/>def</div> * style:样式标签,比如:<div style='width:130px;height:50px;color:#ff0000'>ab...
来源: Laya3.0_文档 发布时间: 20230303
...'</svg>'; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); 怎么运...
来源: Laya3.0_文档 发布时间: 20240910
...ht reserved,powered by LayaAir Engine更新时间: 2025-01-03 16:42:22 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20250103