大约有 360 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0068 秒)
Laya_社区(160) Laya3.0_api(64) Laya2.0_api(59) laya_api(55) Laya2.0_示例(6) Laya2.0_文档(6) Laya3.0_文档(5) Laya_示例(5)
...ation EffectAnimation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anch...
来源: Laya3.0_api 发布时间: 20231115
...e(); _colorTex = Laya.loader.getRes("assets/images/color1.png"); _colorSpr.graphics.drawTexture(_colorTex); _colorSpr.cacheAs = "bitmap"; _colorSpr.pos((1024 - _colorTex.width) >> 1, (768 - _colorTex.height) >> 1); _colorSpr.size(_colorTex.width, _colorTex.height); Laya.stage.addChild(_c...
来源: Laya_社区 发布时间: 20180302
...meAnimation Animation Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior loop mouseThrough name tag wrapMode WRAP_PINGPONG WRAP_POSITIVE WRAP_REVERSE drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anch...
来源: Laya3.0_api 发布时间: 20231115
...留白部分的颜色问题 关于removechild、destory、clear的问题 graphics alpha 问题 问题状态 最新活动: 2018-02-08 13:47 浏览: 1253 关注: 2 人 15818760256 • 2018-02-08 14:11 看了下,我们是数据请求,重新修改后也加了header("Access-Control-Allow-Origin:...
来源: Laya_社区 发布时间: 20180208
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高...
来源: Laya2.0_api 发布时间: 20190513
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 表示显示对象的高度,以像素为单位。 高度默...
来源: laya_api 发布时间: 20170422
...节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;...
来源: laya_api 发布时间: 20170929
...ader.getRes("res/floor.png"); this.bg = new laya.display.Sprite(); this.bg.graphics.clear(); this.addChild(this.bg); //因为上面的图片是截取的 所以右边可能没有图片了 这里补一个 this.rightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture...
来源: Laya_社区 发布时间: 20160801
... { if(this.szurl!="") this.disp() this.szurl=url; if(url==null){ this.graphics.clear(); }else{ this.skin=url; } } public disp(){ this.skin=""; if(this.szurl){ Laya.loader.clearRes(this.szurl,true); //***2.0这里写法为Laya.loader.clearRes(this.szurl); } } public set url(value:string){ this.o...
来源: Laya_社区 发布时间: 20181201
...ey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); x = t.getPixels(0,0,400,400) console.log(x) for (let i of x) ...
来源: Laya_社区 发布时间: 20171201