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

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

101. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 41%]

... Laya.Text(); //设置每行的显示宽度 txt.width = 260; //开启自动换行 txt.wordWrap = true; txt.text = "鼠牛虎兔龙蛇马羊猴鸡狗 猪年快乐"; //使用注册后的字体 txt.font = font; txt.leading = 15; //把文本添加到场景中的bf节点下 this.bf.addChild(txt); } } ```...

来源: Laya2.0_文档 发布时间: 20210715

102. laya.ui.UIComponent_API3.0 [ 39%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

103. laya.ui.WXOpenDataViewer_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

104. laya.ui.ScaleBox_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

105. laya.ui.Box_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

106. laya.ui.HScrollBar_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

107. laya.ui.VScrollBar_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

108. laya.ui.AdvImage_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

109. laya.ui.ColorPicker_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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

110. laya.ui.ProgressBar_API3.0 [ 38%]

... btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按...

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