大约有 2 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0011 秒)
...Laya.Input; let inputText = new Input(); Laya.stage.addChild(inputText); //多行输入 inputText.multiline = true; inputText.wordWrap = true; inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; inputText.padding =...
来源: Laya2.0_示例 发布时间: 20241001
...xt.width = 300; txt.fontSize = 40; txt.color = "#ffffff"; //设置文本为多行文本 txt.wordWrap = true; txt.x = Laya.stage.width - txt.textWidth >> 1; txt.y = Laya.stage.height - txt.textHeight >> 1; Laya.stage.addChild(txt); } } } new laya.Text_WordWrap();package { import laya.display.Stage; i...
来源: Laya2.0_示例 发布时间: 20241001