大约有 65 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0082 秒)
...rited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Inherited from UIGroup.labelBold Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelCo...
来源: Laya3.0_api 发布时间: 20231115
...Subclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...
来源: laya_api 发布时间: 20170929
...elBold(value: boolean): void Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelColors(): string set labelColors(va...
来源: Laya3.0_api 发布时间: 20231115
...io Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : ...
来源: laya_api 发布时间: 20170929
...on Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码,创建了一个 Button 实例。 package { import laya.ui.Button; import laya.util...
来源: Laya3.0_api 发布时间: 20231115
...entDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...
来源: laya_api 发布时间: 20170929
...方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 example 以下示例代码,创建了一个 CheckBox 实例。 package { import laya.ui.CheckBox; i...
来源: Laya3.0_api 发布时间: 20231115
...void Inherited from Button.label Defined in laya/ui/Button.ts:425 按钮的文本内容。 Returns string Inherited from Button.label Defined in laya/ui/Button.ts:429 按钮的文本内容。 Parameters value: string Returns void labelAlign get labelAlign(): string set labelAlign(value: string): voi...
来源: Laya3.0_api 发布时间: 20231115
...perty({ type: String, caption: "IDE显示用的别名", tips: "这是一个文本对象,只能输入文本哦" }) public text1: string = ""; //装饰器属性类型的简写方式,适用于只定义类型的需求 @property(String) public text2: string = ""; constructor() { super(); } } @propert...
来源: Laya3.0_文档 发布时间: 20250103
...Label 类的实例对象 label 。 label.text = "100000";//设置 label 的文本内容。 label.name = "label";//设置 label 的name属性值。 label.size(100, 20);//设置 label 的宽度、高度。 this.addChild(label);//将 label 添加到显示列表。 }; Laya.class(Item,"mypackage.listExam...
来源: Laya3.0_api 发布时间: 20231115