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

大约有 317 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)

1. 缓动-缓动函数演示 [ 100%]

...目开发更高效。(function() { // 项渲染器 var Box = Laya.Box; var Label = Laya.Label; function ListItemRender() { var label = null; ListItemRender.__super.call(this); this.size(100, 20); label = new Label(); label.fontSize = 12; label.color = "#FFFFFF"; this.addChild(label); this.setLabel =...

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

2. 缓动-缓动函数演示 [ 99%]

...trongInOut'); easeFunctionsList.array = data; } renderList(item) { item.setLabel(item.dataSource); } onEaseFunctionChange(list) { const Tween = Laya.Tween, Ease = Laya.Ease; character.pos(100, 50); tween && tween.clear(); tween = Tween.to(character, { x: 350, y: 250 }, duration, Ease[list.selectedIt...

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

3. 文本-字符限制 [ 99%]

...tage.bgColor = "#232628"; this.createTexts(); } createTexts() { this.createLabel("只允许输入数字:").pos(50, 20); let input = this.createInput(); input.pos(50, 50); input.restrict = "0-9"; this.createLabel("只允许输入字母:").pos(50, 100); input = this.createInput(); input.pos(50, 13...

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

4. 文本-字符限制 [ 99%]

...e.bgColor = "#232628"; createTexts(); })(); function createTexts() { createLabel("只允许输入数字:").pos(50, 20); var input = createInput(); input.pos(50, 50); input.restrict = "0-9"; createLabel("只允许输入字母:").pos(50, 100); input = createInput(); input.pos(50, 130); input.restr...

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

5. LabeltextWidth 不好用 TexttextWidth 可以用 [ 99%]

LabeltextWidth 不好用 TexttextWidth 可以用 如题 2018-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: Label组件的话,你需要用Label的实例的textfield的textWid...

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

6. Text Label 区别 [ 99%]

Text Label 区别 请问下Text Label的区别? 2018-11-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 柒汐夜 赞同来自: 看到源码的话你会笑出来。。   大致说下Label的原理,内部...

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

7. laya.ui.Label_API3.0 [ 99%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Label" Label Class Label Label 类用于创建显示对象以显示文本。 example 以下示例代码,创建了一个 Label 实例。 package { import laya.ui.Label; public class Label_Example { public function Label_Exam...

来源: Laya3.0_api 发布时间: 20231115

8. 怎么给UI上的Labeltext赋值 [ 98%]

怎么给UI上的Labeltext赋值 我先设置labeltext为0.调试过程中,经过某一方法后,页面上原本显示0,而后显示为50 2018-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Sup...

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

9. labeltext 有啥区别 感觉差不多? [ 98%]

labeltext 有啥区别 感觉差不多? 如题 2017-01-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: labeltext都是关于文本的操作,label是ui下的,Text是display...

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

10. 关于comboBox的Label [ 97%]

关于comboBox的Label 请问下,comboBox不能对item的label进行描边?如果有这个需求,应该如何做呢? 2017-12-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 自...

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