大约有 65 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
... 熊猫大侠 赞同来自: https://developers.weixin.qq.com/minigame/dev/document/render/canvas/wx.createCanvas.html 自己去找api 2018-07-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 杰 相关问题 分享:自定义事件派...
来源: Laya_社区 发布时间: 20180726
.../ 创建Video元素 videoElement = Browser.createElement("video"); Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zInddex = Render.canvas.style.zIndex - 1; videoElement.src = "mp4/ship.mp4"; //videoElement.autoplay="autoplay" videoElement.p...
来源: Laya_社区 发布时间: 20171222
...FileSystemManager is not a function 用微信开发者调试的时候出现document.createTextNode is not a function 微信开发者工具iOS模拟器报错:CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is not a function ide导出ui时,UI代码显示不...
来源: Laya_社区 发布时间: 20190811
...场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is...
来源: Laya_社区 发布时间: 20151202
...面声明的Java的类名匹配. var a=false; // 注册手指按下事件 document.addEventListener("touchstart",function(e){ a=!a;// 实现奇数次打开 偶数次关闭 // b、调用静态函数openlight 参数为a Test.call("openlight",a); }); 2017-12-25 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20171225
...场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is...
来源: Laya_社区 发布时间: 20151204
...支持WebGL时自动切换至Canvas <!--laya-stage--> const canvas = document.getElementById('laya-stage'); Browser.container = canvas; var canvas2 = Laya.init(480, 360, WebGL); // Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createInteractiveTarget(); createLogger(); } fu...
来源: Laya_社区 发布时间: 20180205
...句代码执行后gl为空。 我在自己创建的js中调用 var c = document.getElementById('canvas'); var gl = c.getContext('webgl') || c.getContext('experimental-webgl'); 是可以正常执行的,执行后能获取到一个Context。 所以最后的问题是在我的电脑上的IDE中不...
来源: Laya_社区 发布时间: 20181011
...据域那个项目就这两句代码会报错 Uncaught TypeError: Browser.document.addEventListener is not a function at Function.AudioSound._initMusicAudio (index.js:10916) at Function.Browser.__init__ (index.js:6944) at Object.Laya.init (index.js:365) at new Football_public...
来源: Laya_社区 发布时间: 20180503
... 状况可以利用一下JS代码 来到达 背景 双色 的目的var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d"); var my_gradient = ctx.createLinearGradient(0, 0, 0, 170); my_gradient.addColorStop(1, "#0066ff"); my_gradient.addColorStop(0, "#ccffff"); ctx.fillStyle = my_g...
来源: Laya_社区 发布时间: 20180713