大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)
Laya_社区(1124) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(39)
...代码 var div:any = Laya.Browser.document.createElement("div"); div.style.width = "600px"; div.style.height = "400px"; Laya.Browser.document.body.appendChild(div); var myChart = new Laya.Browser.window.echarts.init(div); var option = { title: { text: 'ECharts 入门示例' }, tooltip: {}, legend: {...
来源: Laya_社区 发布时间: 20180707
... myiframe.style.left = "200px"; myiframe.style.width = "1000px"; myiframe.style.height = "800px"; myiframe.src = "http://ask.layabox.com/"; __JS__('document.body.appendChild(myiframe)');//添加在舞台上 ...
来源: Laya_社区 发布时间: 20160810
...number,...' is not assignable to type '(source: any, x: number, y: number, width: number, height: num ber, offsetX?: number, offsetY?: nu...'. Types of parameters 'mipMap' and 'offsetX' are incompatible. Type 'number' is not assignable to type 'boolean'. 2017-07-21 添加评...
来源: Laya_社区 发布时间: 20170721
...eClip(); this.swfAni.load(strSWF,true,strImg); this.swfAni.x = (Laya.stage.width -1900) / 2; this.swfAni.y = (Laya.stage.height - 1200) / 2; this.swfAni.zOrder = 3; this.swfAni.loop = false; this.swfAni.play(0,false); this.swfAni.visible = true; this.swfAni.on(laya.events.Event.COMPLETE, this, this....
来源: Laya_社区 发布时间: 20170505
...tmapData(960, 640, false, 0xcccccc); var bmp:Bitmap = new Bitmap(bmd); bmp.width = 960; bmp.height = 640; var sp:Sprite = new Sprite(); sp.addChild(bmp); this.addChildAt(sp, 0); Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT; sp.addEventListener(TouchEvent.TOUCH_BEGIN, onTouchBegin); } prote...
来源: Laya_社区 发布时间: 20160122
...Sprite3D这个对象,怎么改宽高 Laya_Aaron • 2018-03-20 14:39 set width kaiqiw945 • 2018-03-20 14:40 box.setwidth,有这个api我就不发问了 Laya_Aaron • 2018-03-20 14:41 @kaiqiw945:api比较老了,我也看不全,都是点进去看源码 kaiqiw945 • 2018-03-20 14:44 BoxMesh...
来源: Laya_社区 发布时间: 20180320
...工程 赞同来自: gaowei2024 你用sprite的graphics.drawLine(0, 100, width, height, "#9B9B9B", 5)一条一条画即可 2017-12-30 1 8 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gaowei2024 相关问题 Layabox 2.0 bate5 运行编译...
来源: Laya_社区 发布时间: 20171230
...Child(p); var html: string = "<img src='" + imgUrl + "'/>";// style='width:96;height:96' />"; p.innerHTML = html; 其他的大部分图片这两种方案都是没问题可以正常显示的。麻烦帮忙看一下,谢谢 2017-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20170709
...到原因了, //var bounds = ani.getGraphicBounds(); //ani.pivot(bounds.width / 2, bounds.height / 2); 加了这个,第次创建会you有问题 2018-04-11 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zjwytqm 相关问题 看了...
来源: Laya_社区 发布时间: 20180411
...Point; // 程序入口 class GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; private _rootSp : Laya.Sprite; public CreateCircle(...
来源: Laya_社区 发布时间: 20190314