• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 461 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)

181. parameter 2 is not of type 'WebGLTexture' [ 65%]

parameter 2 is not of type 'WebGLTexture'   var htmlC:HTMLCanvas = btn_edit.drawToCanvas(btn_edit.width, btn_edit.height, 0, 0); var interceptT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(...

来源: Laya_社区 发布时间: 20190422

182. laya.ui.Component [ 65%]

...动刷新。 注意: 1.Sprite  tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

183. laya.ui.Tree [ 65%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

184. 使用drawToCanvas截图多次之后,再也无法再本次程序中截图显示。没有任何报错 [ 65%]

...Canvas(this.gridBox.width,this.gridBox.height,0,0); //获取截屏区域的texture this._tex = new Laya.Texture(this._htmlC); this._photo=new Laya.Sprite(); //将截屏的texture进行draw绘制并显示到舞台 this._photo.name="testtt"; this._photo.graphics.drawTexture(this._tex,0,0,this.gridBox....

来源: Laya_社区 发布时间: 20170502

185. 现在有没有办法把一个display.sprite转存成图片 [ 65%]

...么改变图片大小? ios14系统下 blendMode='lighter' 图片异常 Texture图片能否进行翻转? 本地调试加载本地图片都报错 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能co...

来源: Laya_社区 发布时间: 20170416

186. laya.ui.TextArea [ 64%]

...nput textField : Text[read-only] 文本控件实体 Text 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929

187. 请教下 如何把图片 手指划到的地方去除 生成一个png? [ 64%]

... has in SimpleSingletonList matter中layasprite怎么改变图片大小? Texture图片能否进行翻转? ios14系统下 blendMode='lighter' 图片异常 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 编辑了图片 执行代码说加载...

来源: Laya_社区 发布时间: 20171214

188. Layabox如何生成长按保存的图片? [ 64%]

...? 已上传 Demo 附件 ios14系统下 blendMode='lighter' 图片异常 Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? 如何获取图片每个像素点的RGB? laya怎么跨域加载图片 我用list.array=Array;数据全部插进去数组里了,但是list中...

来源: Laya_社区 发布时间: 20180609

189. laya.ui.Clip [ 64%]

...手动刷新。 注意: 1.Sprite tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer...

来源: laya_api 发布时间: 20170929

190. laya.ui.UIGroup [ 64%]

...状态下的描边颜色。 UIGroup tag : * 对象的标签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...

来源: laya_api 发布时间: 20170929