大约有 17 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0024 秒)
...eSnapEffect.graphics.beginFill( 0xFFFFFF ); this._shapeSnapEffect.graphics.drawRect( 0, 0, L.W_CLIP, L.H_CLIP ); this._shapeSnapEffect.graphics.endFill(); this._shapeSnapEffect.cacheAsBitmap = true; this._shapeSnapEffect.x = this._bmpSnap.x; this._shapeSnapEffect.y = this._bmpSnap.y; http://develope...
来源: Laya_社区 发布时间: 20170618
...e("player"); this.tMapPlayer = new Laya.Sprite(); this.tMapPlayer.graphics.drawRect(0, 0, 100, 100, "#FF0000", "#0000FF", 1); //this.tMapPlayer.loadImage("unit/test.png"); this.tMapPlayer.zOrder = 1000; testLayer.addChild(this.tMapPlayer); }楼上您好,我照着你的代码写的,但是还是...
来源: Laya_社区 发布时间: 20170627
...= 那还放在ide里让我流口水。。 sheen • 2018-01-15 12:39 而且drawRect超过一定数量就会报错。。fillText和DrawLine都没有问题。。 qian • 2018-01-15 15:27 你用最新(1.7.15beta)写一个例子 要是还不行的话麻烦上传一下 这边帮你看看 sheen • 2...
来源: Laya_社区 发布时间: 20180112
... var maskArea:Sprite = new Sprite(); maskArea.alpha = 0; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000000"); maskArea.setName("maskArea") mask.addChild(maskArea); //绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 highLightArea = new ...
来源: Laya_社区 发布时间: 20221010
...t; this.MapColNum; j++){ var box = new laya.display.Sprite(); box.graphics.drawRect(0, 0, 30, 30, null, "#e6e4ef", 1); box.x = i * 30; box.y = j * 30; boxSp.addChild(box); } } boxSp.cacheAs = "bitmap"; this.addChild(boxSp); } boxSp.cacheAs = "bitmap"; 如果去掉这句话可以显示 是内部设...
来源: Laya_社区 发布时间: 20161008
... var _mDown:Sprite=new Sprite(); _mTop.graphics.drawRect(0,0,1,1,"#0"); 3.叠加效果 BlendMode.ADD,apk中无效 4.MouseManager.as 运行 时报错,“ touchemoves is undefined” case "touchmove": va...
来源: Laya_社区 发布时间: 20170510
...: 768 关注: 3 人 momo199059 • 2018-01-06 12:06 就是我用graphics.drawRect 画一个黑色sprite,在浏览器是里正常的,但是在apk里面是白色的 momo199059 • 2018-01-06 12:07 还有就是在apk里 htmldivelement 是不是html的<image>标签就无效了 momo199059 • 2...
来源: Laya_社区 发布时间: 20180106