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

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

1. laya.display.Graphics [ 100%]

...umber, textAlign:String):void 在画布上绘制“被填充且镶边的”文本。 Graphics  fillText(text:String, x:Number, y:Number, font:String, color:String, textAlign:String, underLine:int = 0):void 在画布上绘制文本。 Graphics  fillTexture(tex:Texture, x:Number, y:Number, width:N...

来源: laya_api 发布时间: 20170929

2. laya.display.Input [ 90%]

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

来源: laya_api 发布时间: 20170929

3. laya.ui.TextArea [ 87%]

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

来源: laya_api 发布时间: 20170929

4. laya.display.Text [ 86%]

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

来源: laya_api 发布时间: 20170929

5. laya.ui.Label [ 86%]

...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

6. laya.ui.TextInput [ 85%]

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

来源: laya_api 发布时间: 20170929

7. laya.ui.Button [ 79%]

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

来源: laya_api 发布时间: 20170929

8. laya.ui.CheckBox [ 78%]

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

来源: laya_api 发布时间: 20170929

9. laya.ui.UIGroup [ 75%]

... 项对象们的存放数组。 UIGroup  labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup  labelColors : StringUIGroup  labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup  labelPadding : String 表示按钮文本标签的...

来源: laya_api 发布时间: 20170929

10. laya.ui.Radio [ 75%]

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

来源: laya_api 发布时间: 20170929