大约有 310 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)
Laya_社区(147) Laya2.0_文档(45) Laya_示例(35) Laya2.0_示例(32) Laya3.0_文档(17) Laya3.0_api(16) Laya2.0_api(11) laya_api(7)
...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
...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
...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
...此对象。 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
...: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
... 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
... txt.text = "角色名10920-"; txt.color = "#ffffff"; txt.stroke = 2; txt.strokeColor = "#000000"; txt.x = 350; txt.y = 220; ...
来源: Laya_社区 发布时间: 20180212
...额外附带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
... 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
... 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