大约有 145 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0080 秒)
Laya_社区(63) Laya3.0_api(38) Laya2.0_api(15) laya_api(15) Laya3.0_文档(10) Laya2.0_文档(2) Laya2.0_示例(1) Laya_示例(1)
...会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 closeType closeType: string Defined in laya/ui/Dialog.ts:196 关闭类型,点击name为"close","cancel","sure","no","yes","no"的按钮时,会自动记录点击按钮的名称 group grou...
来源: Laya3.0_api 发布时间: 20231115
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Componen...
来源: laya_api 发布时间: 20170929
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompon...
来源: Laya2.0_api 发布时间: 20190513
...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompon...
来源: Laya2.0_api 发布时间: 20190513
... } private function onSelect(index:int):void { trace("当前选择的单选按钮索引: index= ", index); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/radio.png"], laya.utils.H...
来源: Laya3.0_api 发布时间: 20231115
...点的范围,编辑模式自动退出,再次编辑需要再次点击该按钮。演示效果如动图12-7所示: (动图12-7) 3.3 矩形碰撞体 BoxCollider 公共的属性说明在上文的碰撞体基类属性,本节不再重复介绍 3.3.1 宽高 Size 矩形碰撞体,是封闭的直角...
来源: Laya3.0_文档 发布时间: 20251010
...ed Menu Globals "laya/ui/Tab" Tab Class Tab Tab 组件用来定义选项卡按钮组。 * 属性:selectedIndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Exa...
来源: Laya3.0_api 发布时间: 20231115
...et labelBold(value: boolean): void Defined in laya/ui/UIGroup.ts:395 表示按钮文本标签是否为粗体字。 Returns boolean Defined in laya/ui/UIGroup.ts:399 表示按钮文本标签是否为粗体字。 Parameters value: boolean Returns void labelColors get labelColors(): string set labelCol...
来源: Laya3.0_api 发布时间: 20231115
...以通过相对布局属性(top和bottom),把背景拉到全屏以及按钮拉到屏幕相对位置显示。实现各个屏幕下都做到完美的全屏适配。 ##### 3.2.2 保高适配模式fixedheight fixedheight保高模式就是在保障设计高的内容一定全屏显示的等比缩放...
来源: Laya2.0_文档 发布时间: 20210715
...) Parameters type:String (default = null) — 如果是点击默认关闭按钮触发,则传入关闭按钮的名字(name),否则为null。 onOpened()method public function onOpened(param:*):void场景打开完成后,调用此方法(如果有弹出动画,则在动画完成后执行) ...
来源: Laya2.0_api 发布时间: 20190513