大约有 163 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
... 406, 547, 408, 544, 408, 544]; canvas.graphics.drawLines(0, 0, path, "#ff0000", 10); } })(); 2018-12-30 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 异常指的是什么? 正常运行了没有报错 2019-01-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20181230
.../设置文本内容 txt.text = "Hello"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设置文本的显示起点位...
来源: Laya_社区 发布时间: 20171019
...flash可以发布写了两行 Laya.init(800, 600); Laya.stage.bgColor = "#ff0000"; 请帮忙看下 附件 : --> 2017-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 看下你的f...
来源: Laya_社区 发布时间: 20170320
... h = 770; bimgBox.graphics.drawRect(0, 0, w, h, "#FF7F50"); var rect = new Rectangle(0,0,200,200); bimgBox.scrollRect = rect; bimgBox.optimizeScrollRect = true; 这是我的调用方法,麻烦知道的高手指点...
来源: Laya_社区 发布时间: 20170526
...le() { //初始化引擎 Laya.init(480, 640,WebGL); Laya.stage.bgColor = "#FFFF33"; var txt:Text = new Text(); //给文本的text属性赋值 txt.text = "gggggqqqqqqqyyyyyyyvvvv"; txt.align = "center"; txt.fontSize = 15; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.leading = 5; txt.x = (...
来源: Laya_社区 发布时间: 20190606
...始化父类 * this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); * var label = new laya.ui.Label();//创建一个 Label 类的实例对象 label 。 * label.text = "100000";//设置 label 的文本内容。 * label.name ...
来源: Laya_社区 发布时间: 20180426
...rush: any = null (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 Default value pen: any = null (可选)画笔定义,支持以下设置{strokeStyle,lineWidth,lineJoin:"bevel|round|miter",lineCap:"butt|round|square",miterLimit}。 Returns DrawPathCmd drawPie drawPie(x: numb...
来源: Laya3.0_api 发布时间: 20231115
...hics.drawRect(this.are.x, this.are.y, this.are.width, this.are.height, "#00ff00"); _fish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console....
来源: Laya_社区 发布时间: 20180315
...Size = true; mapMask.graphics.drawRect(0,0,miniMap.width,miniMap.height, '#ff0000'); miniMap.mask = mapMask; Laya.stage.addChild(miniMap) 2018-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同...
来源: Laya_社区 发布时间: 20181101
...eight: 98*0.45, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, bor...
来源: Laya_社区 发布时间: 20190109