大约有 1,017 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(720) Laya3.0_api(64) Laya2.0_api(59) laya_api(56) Laya2.0_文档(43) Laya2.0_示例(32) Laya_示例(32) Laya3.0_文档(11)
...mg():void { var texture:Laya.Texture = Laya.loader.getRes(this.name); this.graphics.fillTexture(texture,0,0,256,256,"repeat"); // this.texture = texture; } 这样设置 没什么效果~~ 设置那个Canvas也没有效果 2019-03-16 0 0 分享 微博 QZONE 微信 178*****216 赞同来自: 请问解...
来源: Laya_社区 发布时间: 20190315
... const texture = new Laya.Texture(htmlCanvas); const sp = new Sprite(); sp.graphics.drawTexture(texture); this.shot.addChild(sp);对,是可以的。当时drawToCanvas的第一个参数设置小了,没看到后面的元素。 这里还有一个问题: const sp1 = new Laya.Image(); sp1.skin = 'b...
来源: Laya_社区 发布时间: 20171018
... UIComponent ComboBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior itemRender mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom button cacheAs centerX ...
来源: Laya3.0_api 发布时间: 20231115
...hy UIGroup RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs cent...
来源: Laya3.0_api 发布时间: 20231115
...00, h = 300; this.sp = new Sprite(); Laya.stage.addChild(this.sp); this.sp.graphics.drawRect(0, 0, w, h, "#FF7F50"); this.sp.size(w, h); this.sp.pivot(w / 2, h / 2); this.sp.pos(Laya.stage.width / 2, Laya.stage.height / 2); this.sp.on(Event.MOUSE_DOWN, this, this.onMouseDown); } onMouseDown(e) { con...
来源: Laya2.0_示例 发布时间: 20260303
...sprite 绘制一个矢量图的方块背景。 加边框可以用矢量图 graphic 画一个。 或者让美术做一个漂亮的边框, 或者用发光滤镜。 2018-06-29 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Thylx 相关问...
来源: Laya_社区 发布时间: 20180629
...复 想个名字好烦呀! 赞同来自: 层级 Images Sprite Pie imgSp.graphics.clear(); imgSp.graphics.drawPie(501,501,501,0,70,""); 2018-12-11 0 0 分享 微博 QZONE 微信 熊猫大侠 赞同来自: 自己回复一个 然后给自己的回复设置最佳 2018-11-13 0 1 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20181109
... 提交 3 个回复 king 赞同来自: cuixueying 、李政666 、Ace1024 Graphics fillTexture 2017-02-07 3 0 分享 微博 QZONE 微信 李政666 赞同来自: Ace1024 2019-04-23 1 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 通过上面说的或在ide里通过filltwxture都可以实...
来源: Laya_社区 发布时间: 20170207
...is.aniFly); //创建按钮 this.btn = new Sprite().size(205, 55); this.btn.graphics.drawRect(0, 0, this.btn.width, this.btn.height, "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn.addChild(this.txt); this...
来源: Laya_示例 发布时间: 20260303
...Hierarchy UIGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs cent...
来源: Laya3.0_api 发布时间: 20231115