大约有 133 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)
...laya/ui/Label" Label Class Label Label 类用于创建显示对象以显示文本。 example 以下示例代码,创建了一个 Label 实例。 package { import laya.ui.Label; public class Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模...
来源: 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
...Subclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...
来源: laya_api 发布时间: 20170929
...put Class TextInput TextInput 类用于创建显示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextInput 实例。 package { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_E...
来源: Laya3.0_api 发布时间: 20231115
...方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined...
来源: Laya2.0_api 发布时间: 20190513
...方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined...
来源: laya_api 发布时间: 20170929
... : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文...
来源: Laya2.0_api 发布时间: 20190513
...,然后显示 Sprite toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 UIComponent top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 UIComponent ...
来源: Laya2.0_api 发布时间: 20190513
... : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文...
来源: laya_api 发布时间: 20170929
... 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup labelPadding : String 表示按钮文本标签的...
来源: laya_api 发布时间: 20170929