大约有 1,142 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(993) Laya3.0_api(66) Laya_示例(33) Laya2.0_示例(32) Laya2.0_文档(6) laya_api(4) Laya3.0_文档(4) Laya2.0_api(4)
...prite(); guideContainer.addChild(maskArea); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); // 绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 interactionArea = new Sprite(); guideContainer.addChild(interactionAre...
来源: Laya2.0_示例 发布时间: 20251209
... if (_bitmap && _sources) { this.graphics.clear(); var splitArr:Array = value.toString().split(''); for (var i:int = 0; i < splitArr.length; i++) { var te:Texture =...
来源: Laya_社区 发布时间: 20170601
...。经调试后发现在Skeleton::_update方法中的以下语句:var tGraphics; if (this._aniMode == 0) { tGraphics = this._templet.getGrahicsDataWithCache(this._aniClipIndex, this._clipIndex) || this._createGraphics(); if (tGraphics && this.graphics != tGraphics) { this.graphics = tGraph...
来源: Laya_社区 发布时间: 20200109
...克隆sprite 什么克隆一个对象啊? 在下面的“ tempSpr2.graphics.drawTexture(tempSpr.texture, 0, 0, tempSpr.width, tempSpr.height);”中 tempSpr.texture 是空的 if (data && data.items != []) { let tempSpr: Sprite = new Sprite(); let...
来源: Laya_社区 发布时间: 20170508
怎么对graphics画出来的图片进行鼠标点击拖动??? 我把示例的内容进行了修改,我不想加载个图片然后移动图片,我只是想画个圆圈然后鼠标可以拖动它移动!!!!但是我改了一下官网上的例子,还是无法移动。。。。。...
来源: Laya_社区 发布时间: 20171106
...No Frames VertexBuffer3DProperties | Methods | Constants Packagelaya.d3.graphicsClasspublic class VertexBuffer3DInheritanceVertexBuffer3D Buffer Object VertexBuffer3D 类用于创建顶点缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...
来源: Laya2.0_api 发布时间: 20190513
...neColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 如何清除graphics绘制的矢量图 微信小游戏绘制开放域内容,字体模糊是什么原因? 如何给Sprite的graphics绘制的线条添加发光滤镜? 微信小游戏在开放数据域绘制排行榜无法显示图...
来源: Laya_社区 发布时间: 20180301
...x | Frames No Frames VertexBuffer3DProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexBuffer3DInheritanceVertexBuffer3D Buffer laya.resource.Resource VertexBuffer3D 类用于创建顶点缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties...
来源: laya_api 发布时间: 20170929
关于graphics.drawPath手机端和PC端不一致的问题 我的版本是1.7.4beta。 我想用drawPath画一个这样的图形。如图 于是我先尝试着先用drawPath画一个圆,然后输入以下代码。 以下是ts文件的全部代码。module laya { import Sprite = Laya.Sprite; impor...
来源: Laya_社区 发布时间: 20170425
...天 不是很清楚你说的问题,不知道你是不是创建了一个Graphics circle,graphics都是绘制在最下面的,要放到其他图片上层,你可以创建一个sprite作为容器,把circle作为sprite的子对象,这样控制sprite的层级即可达到你要的效果了 2018-...
来源: Laya_社区 发布时间: 20180828