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

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

121. laya.ui.TextArea [ 38%]

... Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字...

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

122. laya.ui.MoreGame [ 38%]

...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时...

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

123. laya.ui.Image [ 38%]

...是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 See alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Properties Show Inherited Public Pr...

来源: laya_api 发布时间: 20170929

124. WebSocket通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...t class WebSocketDemo extends Laya.Script { private socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注册事件监听 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAG...

来源: Laya3.0_文档 发布时间: 20251010

125. laya.ui.ComboBox_API3.0 [ 37%]

... exported Menu Globals "laya/ui/ComboBox" ComboBox Class ComboBox ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 example 以下示例代码,创建了一个 ComboBox 实例。 package { import laya.ui.ComboBox; import laya.utils.Handler; public class ComboBo...

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

126. laya.ui.UIGroup [ 37%]

...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,...

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

127. laya.ui.Panel [ 37%]

...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent  cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重...

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

128. laya.ui.List [ 37%]

...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent  cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重...

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

129. laya.ui.Component [ 37%]

...。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcal...

来源: laya_api 发布时间: 20170929

130. laya.ui.Button [ 37%]

... EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properti...

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