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

大约有 150 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0066 秒)

51. laya.display.Input [ 67%]

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

来源: laya_api 发布时间: 20170929

52. laya.ui.ComboBox [ 66%]

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

来源: laya_api 发布时间: 20170929

53. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 66%]

... 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否为斜体 */ italic?: number; /** * 行间距 */ leading?: ...

来源: Laya_社区 发布时间: 20171226

54. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 63%]

分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) fontclip这个组件,文档和API里面,居然都查不到,难道官方是想藏私吗?哈哈。。。 知道这个组件的可以直接使用fontclip了,省...

来源: Laya_社区 发布时间: 20180302

55. laya.display.Input_API3.0 [ 63%]

...nput" Input Class Input Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏差。 Hierarchy Text Input Index Cons...

来源: Laya3.0_api 发布时间: 20231115

56. laya.display.Input [ 62%]

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

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

57. laya.ui.CheckBox [ 61%]

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

来源: laya_api 发布时间: 20170929

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

59. laya.ui.Panel [ 61%]

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

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

60. laya.ui.Label_API3.0 [ 60%]

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