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

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

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

...t >> 1); //位置 this.txtarea.size(500, 200); //大小 this.txtarea.pivot(this.txtarea.width/2, this.txtarea.height/2); //轴心点 this.txtarea.text = "大家好,欢迎各位开发者使用LayaAir IDE,这里是TextArea的文本内容,您可以基于此文本进行调试"; this.txtarea....

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

2. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...ht >> 1); //位置 this.fontclp.size(500, 60); //大小 this.fontclp.pivot(this.fontclp.width/2, this.fontclp.height/2); //轴心点 this.fontclp.skin = "atlas/comp/fontClip_num.png"; this.fontclp.sheet = "0123456789"; this.fontclp.value = "5201314"; this.fontclp.direction = "horizontal"; //...

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

3. 显示文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 87%]

...age.height >> 1); //位置 this.lab.size(500, 30); //大小 this.lab.pivot(this.lab.width/2, this.lab.height/2); //轴心点 this.lab.text = "大家好,欢迎大家来到LayaAir IDE"; //文本内容 this.lab.font = "宋体"; //字体 this.lab.fontSize = 50; //字体大小 this.lab.color = "#...

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

4. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 82%]

...height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); //轴心点 this.txtin.font = "宋体"; //字体 this.txtin.fontSize = 50; //字体大小 this.txtin.color = "#ff0000"; //字体颜色 this.txtin.bold = true; //加粗 this.txti...

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