大约有 257 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0092 秒)
... Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字...
来源: Laya2.0_api 发布时间: 20190513
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时...
来源: Laya2.0_api 发布时间: 20190513
...是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 See alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Properties Show Inherited Public Pr...
来源: laya_api 发布时间: 20170929
...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
... 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
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,...
来源: Laya2.0_api 发布时间: 20190513
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重...
来源: Laya2.0_api 发布时间: 20190513
...用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重...
来源: Laya2.0_api 发布时间: 20190513
...。 生命周期: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
... EventDispatcher ObjectImplements ISelectSubclasses CheckBox, Radio Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 可以是单态,两态和三态,默认三态(up,over,down)。 Public Properties Hide Inherited Public Properti...
来源: Laya2.0_api 发布时间: 20190513