大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0013 秒)
关于.graphics.drawPath的问题 我init的高度是2001,为什么用graphics.drawPath高度为800时在这么下面,按理应该在中间偏上呀? 代码如下:Laya.init(1125, 2001); Laya.stage.scaleMode = "exactfit"; Laya.stage.alignH = "center"; Laya.stage.screenMode = "v...
来源: Laya_社区 发布时间: 20170206
...画到D点 ["closePath"] //闭合路径 ]; //绘制梯形 lineSpr.graphics.drawPath(0, 0, path, {fillStyle: color}, {"strokeStyle": color, "lineWidth": "1"}); 初始得出梯形的上顶边宽度是:0.001523 像素 这时候梯形高度是1186 像素 但是 画的不完整。感觉到了...
来源: Laya_社区 发布时间: 20180717
...stageHeight*0.55,10], ["actTo",0,0,stageWidth*0.05,0,10], ]; this.graphics.drawPath(0,0,path,{fillStyle: "#ff0000"},{"strokeStyle":"#ffffff","lineWidth":"1"}); } Laya.class(login,"login",_super); var _proto = login.prototype; return login; })(Laya.Sprite); 2017-08-06 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170806