大约有 163 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)
...源皮肤 `eventscript`:拖动资源到输入框可替换皮肤,点积按钮可快速定位皮肤资源。 ## 2、`常用`属性介绍 在常用属性里,有一些操作是通用的。这里我们分别介绍一下。 ### 2.1 场景颜色(sceneColor) 场景颜色即场景编辑器背景...
来源: Laya2.0_文档 发布时间: 20210715
...源皮肤 `eventscript`:拖动资源到输入框可替换皮肤,点积按钮可快速定位皮肤资源。 ## 2、`常用`属性介绍 在常用属性里,有一些操作是通用的。这里我们分别介绍一下。 ### 2.1 场景颜色(sceneColor) 场景颜色即场景编辑器背景...
来源: Laya2.0_文档 发布时间: 20210714
...对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component...
来源: laya_api 发布时间: 20170929
...对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompone...
来源: 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
...t labelBold(value: boolean): void Defined in laya/ui/ComboBox.ts:686 表示按钮文本标签是否为粗体字。 see laya.display.Text#bold Returns boolean Defined in laya/ui/ComboBox.ts:690 表示按钮文本标签是否为粗体字。 see laya.display.Text#bold Parameters value: boolean Returns ...
来源: Laya3.0_api 发布时间: 20231115
...]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "这里是" + name; tip.addChild(_testTips); } Returns any Inherited from UIComponent.toolTip Defin...
来源: Laya3.0_api 发布时间: 20231115
...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
...omponent Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。S...
来源: laya_api 发布时间: 20170929
...omponent Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景...
来源: Laya2.0_api 发布时间: 20190513