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

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

161. layabox能不能由xml生成节点 [ 71%]

...lt;Label width="746" name="bg" height="44" bgColor="#e5ba8a" editorInfo="compId=72"/>' + '<Label y="0" x="0" width="32" visible="false" valign="middle" text="1" name="id" hei...

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

162. 关于event中只读属性touches,问题,求解 [ 71%]

...h { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt);...

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

163. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...xt.text = "请查看源码和调试信息,了解如何使用"; this.text.color = "#FFFFFF"; this.text.font = "Impact"; this.text.fontSize = 25; this.text.width = 800; this.text.anchorX = 0.5; this.text.align = "center"; this.text.y = 20; this.text.centerX = 0; this.owner.addChild(this.text); } /**...

来源: Laya3.0_文档 发布时间: 20251010

164. laya.ui.AutoBitmap [ 70%]

...此对象。 AutoBitmap drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawCircleCmd 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):DrawCurvesCmd 绘制一系列曲线。 Graphics drawI...

来源: Laya2.0_api 发布时间: 20190513

165. Layabox web 复制一段文字到剪贴板 [ 70%]

...:260px; margin-left:-200px;margin-top:-150px; visibility:hidden;background-color:#fff;z-index:100;border:1px solid grey;overflow: hidden;} .MyContent{position:fixed;left:50%;top:50%;} .MyBtn{width:100%;height:18%;background-color:white;} #confirm{position:fixed;left:49%;top:53%;font-size:30px;color:...

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

166. [LayaAirIDE3]引擎低级错误,文本设置错误颜色值,文本对象直接不显示 [ 69%]

... textField:Laya.Text = new Laya.Text(); textField.text = "Test"; textField.color = "#ff00"; [b]Laya.stage[/b].addChild(textField); 附件 : --> 2024-07-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 layabox 赞...

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

167. 部分字体在Runtime下描边效果失效 [ 69%]

...    txt.text = "角色名10920-";                 txt.color = "#ffffff";                 txt.stroke = 2;                 txt.strokeColor = "#000000";                 txt.x = 350;                 txt.y = 220;     ...

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

168. 普通文本中文逗号导致异常换行 [ 69%]

...额外附带4000点切割伤害,持续10秒。冷却60秒。"; txt.color = "#EDE1D7"; Laya.stage.addChild(txt); txt.x = (Laya.stage.width - txt.textWidth) / 2; txt.y = (Laya.stage.height-txt.textHeight) / 2; zkang5 • 2022-07-11 09:49 好的,谢谢

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

169. 多行输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

... 1.2 TextArea属性介绍 (图1-2) 属性:text、font、fontSize、color、style、syntax、align、bgColor、bordercolor、overflow、wordWrap(默认为true)、leading、padding、underlinecolor、stroke、strokeColor、skin、sizeGrid、type、maxchars、restrict、prompt、promptcolor...

来源: Laya3.0_文档 发布时间: 20251010

170. 为什么我的hello laya是这样的 [ 69%]

... Laya.init(800,400); var txt=new Laya.Text(); txt.text="Hello World"; txt.color = "#ffffff"; Laya.stage.addChild(txt); 就这么两行啊 附件 : --> 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...

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