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

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

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.Text [ 86%]

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

来源: laya_api 发布时间: 20170929

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

4. laya.utils.Utils [ 85%]

...transform。 Utils  measureText(txt:String, font:String):*[static] 测量文本在指定样式下的宽度、高度信息。 Utils  parseInt(str:String, radix:int = 0):int[static] 解析一个字符串,并返回一个整数。和JS原生的parseInt不同:如果str为空或者非数字,原...

来源: laya_api 发布时间: 20170929

5. laya.ui.Button [ 80%]

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

来源: laya_api 发布时间: 20170929

6. laya.ui.TextInput [ 80%]

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

来源: laya_api 发布时间: 20170929

7. laya.display.Input [ 73%]

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

来源: laya_api 发布时间: 20170929

8. laya.ui.AutoBitmap [ 72%]

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

来源: laya_api 发布时间: 20170929

9. laya.ui.CheckBox [ 71%]

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

来源: laya_api 发布时间: 20170929

10. laya.ui.ComboBox [ 71%]

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

来源: laya_api 发布时间: 20170929