• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 975 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0066 秒)

701. 缓动画Bug,给了回调函数之后是直接过时间后执行回调函数,但是之前的缓动画不会执行 [ 50%]

...素 骨骼动画播放完后的回调时间 TypeScript下HttpRequest发送Post请求有Bug? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 1.7.20beta有bug,帧属性面板打不开 Text类中竟然没有pos函数的api~ ...

来源: Laya_社区 发布时间: 20170809

702. Laya无法把截屏然后转Base64. [ 50%]

...htmlCanvas);//使用htmlCanvas创建Texture * var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 * sp.graphics.drawTexture(texture);//把截图绘制到精灵上 * Laya.stage.addChild(sp);//把精灵显示到舞台 * * <p>也可以获取原始图片数据,分享...

来源: Laya_社区 发布时间: 20180826

703. laya.ui.List [ 50%]

...值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).sca...

来源: Laya2.0_api 发布时间: 20190513

704. 2.0label不改变文本内容,label颜色无法直接改变,1.0可以 [ 50%]

...     this.label.color = "#7CFC00";             this.label.pos(500, 400);               this.label.width = 300; this.label.align = "center"; // this.label.stroke = 1; this.label.strokeColor = "#000000";             this.label.zOrder=9980           ...

来源: Laya_社区 发布时间: 20190514

705. 关于环形进度条,进度不能重置问题 [ 50%]

...aya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, this.say.width/2+9,0,this.angle, "#ffffff"); this.circle = new Spr...

来源: Laya_社区 发布时间: 20170807

706. 关于闭包的问题 [ 50%]

...,这个详情可以参考API)   换一种理解思路大概就是:pos()调整的x,y相当于用pading去调整元素位置,而pivot()相当于用margin去调整元素位置   不造底层实现具体是什么样子的,这仅仅是个人理解。 2018-08-13 0 0 分享 微博 QZONE 微信 ...

来源: Laya_社区 发布时间: 20180810

707. laya.device.media.Video [ 50%]

...值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite  play():void 开始播放视频。 Video pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以...

来源: Laya2.0_api 发布时间: 20190513

708. 源码List的一次代码错误 [ 50%]

...ntent) { var cacheBox = new Box(); cacheBox.cacheAsBitmap = true; cacheBox.pos((this._isVertical ? 0 : startY) * cellWidth, (this._isVertical ? startY : 0) * cellHeight); this._content.addChild(cacheBox); this._content.optimizeScrollRect = true; box = cacheBox; } else { [b] var arr = []; [/b] for (v...

来源: Laya_社区 发布时间: 20180418

709. DrawPie例子中无法显示遮罩区域 [ 50%]

... onMouseMove); ape.mask = this.cMask; } function onMouseMove(){ this.cMask.pos(Laya.stage.mouseX, Laya.stage.mouseY); }; })(); 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: Che...

来源: Laya_社区 发布时间: 20180313

710. laya.html.dom.HTMLDivElement_API3.0 [ 50%]

...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf render repaint replaceChild runCallLater scale setChildIndex setSelfBounds set_height set_scaleX set_scaleY set_transform set_...

来源: Laya3.0_api 发布时间: 20231102