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

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

1. laya.display.BitmapFont [ 100%]

...字符宽度。 BitmapFont  getTextWidth(text:String):Number 获取指定文本内容的宽度。 BitmapFont  loadFont(path:String, complete:Handler):void 通过指定位图字体文件路径,加载位图字体文件,加载完成后会自动解析。 BitmapFont  parseFont(xml:XmlDom, textu...

来源: laya_api 发布时间: 20170929

2. laya.ui.Label [ 78%]

...tcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  align : String 表示文本的水平显示方式。 取值: "left": 居左对...

来源: laya_api 发布时间: 20170929

3. laya.display.Text [ 76%]

...Dispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)...

来源: laya_api 发布时间: 20170929

4. laya.ui.Button [ 73%]

...io Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : ...

来源: laya_api 发布时间: 20170929

5. laya.ui.TextInput [ 73%]

...Subclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...

来源: laya_api 发布时间: 20170929

6. laya.display.Input [ 67%]

... EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Public Properties Hide Inherite...

来源: laya_api 发布时间: 20170929

7. laya.ui.ComboBox [ 67%]

...表项标签的字体大小。 ComboBox  labelBold : Boolean 表示按钮文本标签是否为粗体字。 ComboBox  labelColors : String 获取或设置对 ComboBox 组件所包含的 Button 组件的文本标签颜色。 格式:upColor,overColor,downColor,disableColor ComboBox  labelFont :...

来源: laya_api 发布时间: 20170929

8. laya.ui.CheckBox [ 61%]

...方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined...

来源: laya_api 发布时间: 20170929

9. laya.ui.TextArea [ 61%]

...entDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示文本的水平显示方式。 取值: "left": 居左对齐显示。 "center": 居...

来源: laya_api 发布时间: 20170929

10. laya.ui.Component [ 60%]

...为Laya.timer。Node  toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component  top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 Component tra...

来源: laya_api 发布时间: 20170929