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

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

1. laya.display.BitmapFont [ 100%]

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

来源: Laya2.0_api 发布时间: 20190513

2. laya.display.Text [ 76%]

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

来源: Laya2.0_api 发布时间: 20190513

3. laya.display.Input [ 75%]

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

来源: Laya2.0_api 发布时间: 20190513

4. laya.ui.Label [ 74%]

...tcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-o...

来源: Laya2.0_api 发布时间: 20190513

5. laya.ui.TextInput [ 70%]

...Subclasses TextArea TextInput 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...

来源: Laya2.0_api 发布时间: 20190513

6. laya.ui.Button [ 66%]

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

来源: Laya2.0_api 发布时间: 20190513

7. laya.ui.TextArea [ 65%]

...entDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...

来源: Laya2.0_api 发布时间: 20190513

8. laya.ui.ComboBox [ 63%]

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

来源: Laya2.0_api 发布时间: 20190513

9. laya.ui.CheckBox [ 63%]

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

来源: Laya2.0_api 发布时间: 20190513

10. laya.ui.Radio [ 60%]

... : String图标x,y偏移,格式:100,100Button label : String 按钮的文本内容。 Button labelAlign : String标签对齐模式,默认为居中对齐。Button labelBold : Boolean 表示按钮文本标签是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文...

来源: Laya2.0_api 发布时间: 20190513