大约有 1,828 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1468) Laya3.0_api(102) Laya2.0_文档(77) Laya2.0_api(64) Laya2.0_示例(37) Laya_示例(36) Laya3.0_文档(35) laya_api(9)
...ild(node); var sp: Laya.Sprite = new Laya.Sprite(); node.mask = sp; sp.pos(50, 50); var sp2: Laya.Sprite = new Laya.Sprite(); sp2.pos(300, 500); Laya.stage.addChild(sp2); let r: number = 0 Laya.timer.loop(100, this, () => { if (r >= 360) r = 0; r++; sp.graphics.clear(true); sp.graphics.drawPie...
来源: Laya_社区 发布时间: 20190701
ide的布局属性 我设置Image的left,right,top,bottom都为50的时候Image距parent的上下左右都为50,但是我设置Text和Label和TextArea的l,r,t,b时,会变成这样: 附件 : --> 2017-03-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...
来源: Laya_社区 发布时间: 20170317
... // 不支持WebGL时自动切换至Canvas Laya.init(750, Laya.Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "fixedwidth"; Laya.stage....
来源: Laya_社区 发布时间: 20180323
... at Gg (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:50:3764) at Qh (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:50:61284) at jt (file:///E:/myWork/BallBlast/BallBlast/bin/libs/laya.physics3D.js:50:226187) at S.stepSimulation (file:///E:/myWork/Bal...
来源: Laya_社区 发布时间: 20181029
... 256; cxt.fillStyle = 'rgb(' + '255' + ',' + '0' + ',0)'; cxt.font = "bold 50px 宋体"; cxt.textAlign = "center";//文本的对齐方式 cxt.textBaseline = "center";//文本相对于起点的位置 //设置文字,位置 cxt.fillText("-10000", 100, 50, 200);//有填充cxt.font="bold 60px 宋体"; le...
来源: Laya_社区 发布时间: 20191211
...size) >= totalSize)) 此判断被跳过(即认定为存储没有达到50M上限),导致没有调用onClearCacheRes方法清理存储, 但是后续的fs.copyFile调用,却失败返回,信息如下: {errMsg:"copyFile:fail copyFile: fail the maximum size of the file storage limit is ex...
来源: Laya_社区 发布时间: 20190428
...0/5; Matter.World.add(engine.world, [ Matter.Bodies.rectangle(100+space*0,150,50,50,{ restitution: rest}), Matter.Bodies.circle(100+space*3,150,25,{ restitution: rest}), // walls Matter.Bodies.rectangle(400, 0, 800, 50, { isStatic: true }), Matter.Bodies.rectangle(400, 600, 800, 50, { isStatic: true...
来源: Laya_社区 发布时间: 20171214
...on() { //初始化舞台 Laya.init(500, 300, WebGL); drawSomething(); })(); function drawSomething() { sp = new Sprite(); Laya.stage.addChild(sp); //画直线 ...
来源: Laya2.0_文档 发布时间: 20210715
...var offset = Laya.stage.width - w >> 1; var endY = Laya.stage.height / 2 - 50; var demoString = "LayaBox"; for (var i = 0, len = demoString.length; i > 1; var endY: number = Laya.stage.height / 2 - 50; var demoString: string = "LayaBox"; for (var i: number = 0, len: number = demoString.length; i > 1...
来源: Laya_示例 发布时间: 20251209
...三个遮罩角度成: 66,270。 ( this.mask.graphics.drawPie(100, 50, 50, 66, 270, '#ff0000') ) 遮罩形状就跟第一个一样显示错误。 附件 : --> test.rar 2019-11-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20191115