大约有 573 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)
Laya_社区(216) Laya3.0_api(192) Laya2.0_api(58) laya_api(53) Laya2.0_文档(26) Laya3.0_文档(14) Laya2.0_示例(8) Laya_示例(6)
..., this, function():void{ //设置共享画布大小 __JS__('sharedCanvas').width = Laya.stage.width; __JS__('sharedCanvas').height = Laya.stage.height; //主域往子域透传消息 __JS__('wx').postMessage({type:"resizeShared",url:"",data:{width:Laya.stage.width,height:Laya.stage.height,matrix:Laya...
来源: Laya_社区 发布时间: 20180525
... Laya.stage.addChild(swordman); swordman.pos(width / 2, height / 2); Laya.timer.frameOnce(100, this, unload); } private function unload() : void { swordman.destroy(); ...
来源: Laya_社区 发布时间: 20160902
...ot; +"<g fill=\"none\" stroke=\"black\" stroke-width=\"4\">" + " <path stroke-dasharray=\"5,5\" d=\"M5 20 l215 0\" />" + "<path stroke-dasharray=\"10,10\" d=\"M5 40 l215 0\" />" + &q...
来源: Laya_社区 发布时间: 20170423
... bm2:Bitmap = new Bitmap(bmd2); this.addChild(bm2); bm2.x = 50; trace(rect.width); trace(rect.height); 输出正常,不知道你那边是如何写的?
来源: Laya_社区 发布时间: 20151105
...dler.create(head_img, function () { this.height = this.width = 77; var cMask = new Laya.Sprite();//创建遮罩对象 var r = 38.5; //遮罩圆形半径 cMask.graphics.drawCircle(0, 0, r, "#ff0000");//画一个圆形的遮罩区域 ...
来源: Laya_社区 发布时间: 20181119
...dimage的描述是: loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Handler = null) 官方文档也是这么用的:http://ldc.layabox.com/doc/?nav=zh-ts-1-3-2 我把文档的代码完整复制到vscode里,vs code会报错。IDE F6 运行也编...
来源: Laya_社区 发布时间: 20200522
... list.itemRender = Item; list.x = 15; list.y = 60; list.height = 470; list.width = 542; list.spaceY = 20; list.vScrollBarSkin = ""; list.repeatX = 1; list.repeatY = 10; list.selectEnable = false; list.renderHandler = new Handler(this, function(cell, index) { cell.setImg(cell.dataSource); }); this.ro...
来源: Laya_社区 发布时间: 20170920
...寸的百分比,当不勾选时,矩形的尺寸为像素大小。 Line Width:绘制矩形的边框宽度值。 Line Color:绘制矩形的边框颜色。 Fill Color:矩形填充的颜色。 动图2-2演示了这些属性的操作过程: (动图2-2) 2.2 代码绘制矩形 LayaAir引擎...
来源: Laya3.0_文档 发布时间: 20231129
...: let point = { x: collider.owner.x - collider.width * 0.5 * local.x, y: collider.owner.y - collider.height * 0.5 * local.y } 2021-01-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 176**...
来源: Laya_社区 发布时间: 20201114
...Storage supportWebAudio userAgent Accessors _isMiniGame clientHeight clientWidth container document height pixelRatio width window Methods createElement getElementById getQueryString now removeElement Properties Static PLATFORM_ANDROID PLATFORM_ANDROID: number = 1 Defined in laya/utils/Browser.ts:71...
来源: Laya3.0_api 发布时间: 20231115