大约有 721 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(596) Laya3.0_api(40) laya_api(31) Laya2.0_api(27) Laya2.0_文档(20) Laya3.0_文档(6) Laya2.0_示例(1)
...tion () { function tankSprite() { this.speed_x = 3; this.speed_y = 4; this.graphics.drawRect(0, 0, 90, 90, '#aabbcc', '#bbccdd', 1); Laya.stage.addChild(this); var lastTimestamp = 0; var count = 0; var totale = 0; Laya.timer.frameLoop(1, this, function test() { var deltaTime = new Date().getTime() -...
来源: Laya_社区 发布时间: 20170920
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。Component height : Number[override] TextArea ...
来源: laya_api 发布时间: 20170929
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高...
来源: Laya2.0_api 发布时间: 20190513
....getRes(skin); var _sprite = new Sprite(); _sprite.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(_sprite); }); 但是出来的效果是这样,我本意是想 宽度不变 高度可以拉伸 问题1 怎么才能宽度不变 高度自适应 问题2 如果我...
来源: Laya_社区 发布时间: 20170222
...它机型都是正常的。 关于使用matterjs物理引擎鼠标问题 graphics drawPath drawLine 鼠标 画笔 画线 锯齿 Laya 鼠标Cursor怪异问题,有demo 龙骨skeleton鼠标点击区域的设置 问题状态 最新活动: 2025-08-16 14:41 浏览: 1720 关注: 3 人
来源: Laya_社区 发布时间: 20250802
...ild(t2); let Texture = Laya.Texture.create(t, 0, 0, t.width, t.height); t2.graphics.drawImage(Texture, 0, 0, 56, 56); } 2025-09-23 0 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 肖亮亮 您好,我们已经复现这个问题,感谢您的反馈 2025-09-01 1 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20250827
...请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: Graphics().drawPoly() /** * 绘制多边形。 * @param x 开始绘制的 X 轴位置。 * @param y 开始绘制的 Y 轴位置。 ...
来源: Laya_社区 发布时间: 20180507
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number[override] 显示对象的高度,单位为像素,默认为0...
来源: Laya2.0_api 发布时间: 20190513
...dex])continue ; texture=this.sources[index]; if (isHorizontal)this.graphics.drawTexture(texture,dX+i *(texture.sourceWidth+this.spaceX),0,texture.sourceWidth,texture.sourceHeight); else this.graphics.drawTexture(texture,0+dX,i *(texture.sourceHeight+this.spaceY),texture.sourceWidth,textu...
来源: Laya_社区 发布时间: 20180228
...heelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 graphics alpha 问题 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2023-07-11 17:03 浏览: 3375 关注: 2 人 人月成患...
来源: Laya_社区 发布时间: 20230703