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

大约有 224 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)

11. laya.display.Graphics [ 92%]

...个新的 Graphics 类实例。 Graphics  alpha(value:Number):void 设置明度Graphics  clear(recoverCmds:Boolean = false):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示。 Gr...

来源: laya_api 发布时间: 20170929

12. 打包后启动游戏后报错 [ 89%]

...方案,第一个方案img图像显示正常,并且背景会有一个0.3明度的黑色蒙板 第二个方案img也会被加上0.3的明度

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

13. 计时器-延迟执行 [ 88%]

...er.frameOnce(60, this, onComplete2); } function onComplete1() { //spBtn1的明度减少0.5 button1.alpha -= 0.5; } function onComplete2() { //spBtn2的明度减少0.5 button2.alpha -= 0.5; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; i...

来源: Laya_示例 发布时间: 20260106

14. 计时器-延迟执行 [ 88%]

....timer.frameOnce(60, this, this.onComplete2); } onComplete1() { //spBtn1的明度减少0.5 this.button1.alpha -= 0.5; } onComplete2() { //spBtn2的明度减少0.5 this.button2.alpha -= 0.5; } } new Timer_DelayExcute();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import...

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

15. Sprite-新手引导 [ 87%]

...tainer); gameContainer.on("click", this, nextStep); //绘制遮罩区,含明度,可见游戏背景 var maskArea = new Sprite(); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); guideContainer.addChild(maskArea); //绘制一个圆形区域...

来源: Laya_示例 发布时间: 20260106

16. Sprite-新手引导 [ 87%]

...uideContainer); guideContainer.cacheAs = "bitmap"; // 绘制遮罩区,含明度,可见游戏背景 maskArea = new Sprite(); guideContainer.addChild(maskArea); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); // 绘制一个圆形区域,利...

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

17. graphics alpha 问题 [ 87%]

...个方法有bug吧,设置之后出现的结果不对,并不是设定的明度!!   !!而且有个很有意思的问题,把Laya.stage.scaleMode = "noscale";之后, 如果不停的创建aa(  每次都要设置aa.graphics.alpha(0.5)  ),你会发现整个canvas 越来越白,最后...

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

18. laya.ui.AutoBitmap [ 86%]

...Inherited Public Methods MethodDefined By alpha(value:Number):void 设置明度Graphics  clear(recoverCmds:Boolean = true):void[override] AutoBitmap clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  des...

来源: laya_api 发布时间: 20170929

19. laya.display.Graphics [ 86%]

...thodDefined By  Graphics()Graphics  alpha(alpha:Number):AlphaCmd 设置明度Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示...

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

20. graphics.drawTexture [ 86%]

...微信小游戏开放数据域的sharecanvas之后,里面设置的一些明度都无效了。是draw的问题还是。sharecanvas的问题? 2018-06-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aar...

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