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

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

1. laya.ui.Label_API3.0 [ 100%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 label.bold = true;//设置 label 显...

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

2. laya.ui.TextInput_API3.0 [ 97%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new TextInput("这是一个TextInput实例...

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

3. laya.ui.TextArea_API3.0 [ 97%]

...置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new TextArea("这个一个TextArea实例。"...

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

4. laya.ui.ScaleBox_API3.0 [ 80%]

...lue: string): void Inherited from Box.bgColor Defined in laya/ui/Box.ts:25 背景颜色 Returns string Inherited from Box.bgColor Defined in laya/ui/Box.ts:29 背景颜色 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: string): void Inherited from Text.b...

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

5. laya.display.Text_API3.0 [ 68%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设置 text ...

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

6. laya.display.Input_API3.0 [ 53%]

...ited from Text.borderColor Defined in laya/display/Text.ts:576 文本边框背景颜色,以字符串表示。 Returns string Inherited from Text.borderColor Defined in laya/display/Text.ts:580 文本边框背景颜色,以字符串表示。 Parameters value: string Returns void cacheAs get cacheA...

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