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

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

101. laya.ui.RadioGroup_API3.0 [ 47%]

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

102. laya.ui.ComboBox_API3.0 [ 46%]

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

103. laya.ui.Image_API3.0 [ 44%]

...]); } 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

104. laya.ui.Tab [ 44%]

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

105. laya.ui.Tab [ 43%]

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

106. laya.ui.Tab_API3.0 [ 43%]

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

107. laya.ui.RadioGroup [ 42%]

...ad-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup labelPadding : String 表示按钮文本标签的...

来源: laya_api 发布时间: 20170929

108. laya.ui.HSlider [ 41%]

...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Componen...

来源: laya_api 发布时间: 20170929

109. laya.ui.RadioGroup [ 41%]

...ad-only] 项对象们的存放数组。 UIGroup labelBold : Boolean 表示按钮文本标签是否为粗体字。 UIGroup labelColors : StringUIGroup labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 UIGroup labelPadding : String 表示按钮文本标签的...

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

110. laya.ui.HSlider [ 41%]

...,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UICompon...

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