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

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

151. 绘制曲线(TypeScript-LayaAir基础篇(TS)-矢量图) [ 65%]

...  this.sp.graphics.drawCurves(10, 58, [0, 0, 19, -100, 39, 0], "#ff0000", 3);       }     } } new laya.Sprite_DrawShapes(); ``` 发布后如下图所示,我们成功的绘制了一条简单的曲线。 ​ ![blob.png](img/4.png) ​ (图9) 通过增加drawCurves的第三...

来源: Laya2.0_文档 发布时间: 20210715

152. 绘制曲线(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 65%]

...    sp.graphics.drawCurves(10, 58, [0, 0, 19, -100, 39, 0], "#ff0000", 3);                        }     } } ``` 发布后如下图所示,我们成功的绘制了一条简单的曲线。 ​ ![blob.png](img/4.png) ​ (图9) 通过增加drawCurves的第三...

来源: Laya2.0_文档 发布时间: 20210714

153. 小程序开放域相关 [ 64%]

...0px 0.0px 0.0px; font: 11.0px Monaco; color: #ab1500} span.s1 {color: #0052ff} span.s2 {color: #3da779} span.s3 {color: #000000} span.s4 {color: #d77c79} span.s5 {color: #ab1500} span.Apple-tab-span {white-space:pre} public function Code() {             //初始化微信小游戏      ...

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

154. 输入设备-贪吃蛇(重力感应) [ 64%]

...this.graphics.drawRect(-height / 2, -height / 2, width + height, height, "#FF7F50"); } // 获取关节另一头位置 Segment.prototype.getPinPosition = function() { var radian = this.rotation * Math.PI / 180; var tx = this.x + Math.cos(radian) * this.width; var ty = this.y + Math.sin(radian) * this...

来源: Laya_示例 发布时间: 20251130

155. HTMLDivElement [ 64%]

...1 个回复 189*****192 赞同来自: innerHTML= “<span style='color:#ff9900;'>【世界】<sup>上浮内容</sup> </span>” sup  sub  上标下标 试一试 2017-10-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

156. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 63%]

...50; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.color = "ff00ff"; //使用我们注册的字体 txt.font = mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } 2018-09-19 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...

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

157. 关于缓存问题 [ 63%]

...不了 比如原来是xxx.com/aa/bb/cc/dd/index.html 现在是xxx.com/ee/ff/gg/jj/index.html 为什么你们缓存目录要使用xxx.com_aa_bb_cc这样的 直接在一个固定目录不是更好吗 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

158. 输入设备-贪吃蛇(重力感应) [ 63%]

...foodSize, foodSize); food.graphics.drawRect(0, 0, foodSize, foodSize, "#00BFFF"); food.x = Math.random() * Laya.stage.width; food.y = Math.random() * Laya.stage.height; } } class Segment extends Laya.Sprite { constructor(width, height) { super(); this.size(width, height); this.init(); } init() { thi...

来源: Laya2.0_示例 发布时间: 20251130

159. Graphics 怎么画 环形 [ 63%]

...微信 gggg1010 赞同来自: sp.graphics.drawCircle(x, y, radius, null, "#FF0000", 5) 2019-07-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 rt1223103 相关问题 有没有环形倒计时的demo 可以参考一下 希望是图片 ...

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

160. WS在IE下的问题 [ 63%]

LayaAir引擎 WS在IE下的问题 为什么在IE报,chrome 和FF都没有问题,是ws的原因吗? 附件 : --> 2017-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: ...

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