大约有 502 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0049 秒)
Laya_社区(351) Laya3.0_api(61) Laya2.0_文档(28) Laya3.0_文档(21) Laya2.0_api(13) laya_api(12) Laya_示例(8) Laya2.0_示例(8)
微信飞机大战报错 调用堆栈:"Cannot set property 'text' of undefined" 调试控制台输出:Error processing "evaluate": TypeError: Cannot read property 'api' of undefined at ChromeConnection.get api [as api] (d:\Program\LayaAirIDE_1.7.0\resources\app\extensions\laya-debug\node_mo...
来源: Laya_社区 发布时间: 20170416
http://layaair.ldc.layabox.com/demo/?Text_Scroll 这个场景中只能有一个吗 我加了第二个 就不滚了 2017-04-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 186*****260 赞同来自: 发现是 第...
来源: Laya_社区 发布时间: 20170429
...Label(); Laya.stage.addChild(label); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } return label; } } new UI_Label();module laya { import Stage = Laya.Stage; impo...
来源: Laya2.0_示例 发布时间: 20260106
..._WIDTH = 4; var label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor; } Laya.stage.addChild(label); return label; } })();module laya { import Stage = ...
来源: Laya_示例 发布时间: 20260106
...题 List 组件列表渲染异常 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 ios14系统下 blendMode='lighter' 图片异常 LayaAir3.1.4中使用Spine3.8的动画资源显示异常 [LayaAir2.13.6]支付宝小游戏使用TTF字体...
来源: Laya_社区 发布时间: 20250527
...g](img/1.png) (图1) Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下:  (图2) ### 1.2 Label 属性  (图) | **属性** | 功能说明 | | -------- | -----------...
来源: Laya2.0_文档 发布时间: 20210714
基础文本(Text)1. LayaAir IDE中使用Text1.1 创建Text1.2 属性介绍1.3 Syntax属性1.4 脚本控制Text2. 代码创建Text基础文本(Text) Text继承于Sprite,是静态文本的基础组件。这里我们介绍一下Text专属的组件属性。 1. LayaAir IDE中使用Text 1.1 ...
来源: Laya3.0_文档 发布时间: 20251010
...son311 赞同来自: var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas <!--laya-stage--> const canvas = document.getElementById('laya-stage'...
来源: Laya_社区 发布时间: 20180205
...e(/>\s+</g,'><'); rst=(new DOMParser()).parseFromString(value,'text/xml'); if (rst.firstChild.textContent.indexOf("This page contains the following errors")>-1){ throw new Error(rst.firstChild.firstChild.textContent); } return rst; } 2018-01-03 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20180103
...lInheritanceLabel UIComponent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是...
来源: Laya2.0_api 发布时间: 20190513