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

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

271. laya.ui.RadioGroup [ 49%]

...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等...

来源: laya_api 发布时间: 20170929

272. laya.ui.VScrollBar [ 49%]

...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 ScrollBar tick : Number 滚动的刻度值,滑动数值为tick的整数倍。默认值为1。 Scrol...

来源: laya_api 发布时间: 20170929

273. 滤镜-模糊滤镜 [ 49%]

...ld(this.ape); let texture = Laya.loader.getRes(apePath); this.ape.graphics.drawTexture(texture); this.ape.x = (Laya.stage.width - texture.width) / 2; this.ape.y = (Laya.stage.height - texture.height) / 2; } applayFilter() { // 创建一个模糊滤镜 const BlurFilter = Laya.BlurFilter; // let blurF...

来源: Laya2.0_示例 发布时间: 20240930

274. laya.ui.HScrollBar [ 49%]

...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 ScrollBar tick : Number 滚动的刻度值,滑动数值为tick的整数倍。默认值为1。 Scrol...

来源: laya_api 发布时间: 20170929

275. 分享个用美术资源做位图文本的方法。。。 [ 49%]

...有找到对应的字符:" + targetChar); continue; } var charSp = this.drawTexture(charData); charSps.push(charSp); } this.charSprites = charSps; this.setCharsPos(); } // 从图集上面抠图 private drawTexture(charData){ var charSp: Laya.Sprite = new Laya.Sprite(); charSp = Laya.Pool.getItemBy...

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

276. 2D性能优化 · LayaAir3.0文档 · LAYABOX [ 48%]

...ader.getRes("res/apes/monkey2.png"); var sp=new Laya.Sprite(); sp.graphics.drawTexture(texture,0,0); sp.size(texture.width,texture.height); Laya.stage.addChild(sp); })); 使用Graphics.drawTexture并不会自动设置容器的宽高,但是可以使用Texture的宽高赋予容器。毋庸置疑,...

来源: Laya3.0_文档 发布时间: 20231008

277. TimeLine.addLabel(label:String, offset:Number):TimeLine 亲测! 方法中第二个参数offset无效 [ 48%]

...鼠标是否处于按下状态”? 动画混合无效(版本2.6) 2.0 drawTexture color参数无效 matter.js mouseconstraint在微信小游戏中无效 怎样获取浏览器地址传过来的GET参数 (此问题已经无效) 关于同为object层,层级设置无效的问题 LayaAir3D Uni...

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

278. laya.ui.ColorPicker [ 48%]

...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等...

来源: laya_api 发布时间: 20170929

279. laya.ui.CheckBox [ 48%]

...其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toggle : Boolean 指定按钮按下时是否是切换按钮的显示状态。 Button toolTip : * 鼠标悬停提示。 可以赋值为文本 Stri...

来源: laya_api 发布时间: 20170929

280. 在安卓手机上drawToTexture不能正确返回纹理对象,是HTMLCanvas [ 48%]

...unds.height, -bounds.x + view.x, -bounds.y + view.y); this._agent.graphics.drawTexture(this._agentTexture, (this._agent.width - bounds.width) * 0.5, (this._agent.height - bounds.height) * 0.5);   }   附件 : --> 2021-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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