大约有 224 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0035 秒)
Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya_社区(33) Laya2.0_文档(7) Laya3.0_文档(2) Laya2.0_示例(2) Laya_示例(2)
...个新的 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
...方案,第一个方案img图像显示正常,并且背景会有一个0.3透明度的黑色蒙板 第二个方案img也会被加上0.3的透明度
来源: Laya_社区 发布时间: 20180209
...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
....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
...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
...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
...个方法有bug吧,设置之后出现的结果不对,并不是设定的透明度!! !!而且有个很有意思的问题,把Laya.stage.scaleMode = "noscale";之后, 如果不停的创建aa( 每次都要设置aa.graphics.alpha(0.5) ),你会发现整个canvas 越来越白,最后...
来源: Laya_社区 发布时间: 20161219
...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
...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
...微信小游戏开放数据域的sharecanvas之后,里面设置的一些透明度都无效了。是draw的问题还是。sharecanvas的问题? 2018-06-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aar...
来源: Laya_社区 发布时间: 20180603