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

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

891. laya.ui.HScrollBar_API3.0 [ 64%]

...ScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var hScrollBar; var res = ["resource/ui/h...

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

892. laya.ui.VScrollBar_API3.0 [ 64%]

...ScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 var vScrollBar; var res = ["resource/ui/v...

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

893. laya.ui.Image_API3.0 [ 64%]

...激活。 Returns boolean 在场景中是否激活。 alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from T...

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

894. laya.ui.ComboBox_API3.0 [ 64%]

...//将此 comboBox 对象添加到显示列表。 } private onSelect(index: number): void { console.log("当前选中的项对象索引: ", index); } } Hierarchy UIComponent ComboBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior itemRen...

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

895. laya.display.Text_API3.0 [ 64%]

...对齐显示。 Parameters value: string Returns void alpha get alpha(): number set alpha(value: number): void Inherited from Text.alpha Defined in laya/display/Sprite.ts:1026 透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。 Returns number Inherited from T...

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

896. laya.ui.Label [ 64%]

...": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anch...

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

897. laya.display.Animation_API3.0 [ 64%]

...ode.tag Defined in laya/display/Node.ts:62 节点标签 wrapMode wrapMode: number = 0 Inherited from AnimationBase.wrapMode Defined in laya/display/AnimationBase.ts:33 播放顺序类型:AnimationBase.WRAP_POSITIVE为正序播放(默认值),AnimationBase.WRAP_REVERSE为倒序播放,AnimationBa...

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

898. laya.ui.Tab_API3.0 [ 64%]

...ge.addChild(tab);//将 tab 添到显示列表。 } private onSelect(index: number): void { console.log("当前选择的表情页索引: index= ", index); } } Hierarchy UIGroup Tab Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThroug...

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

899. laya.ui.AsynDialog [ 64%]

...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = ...

来源: laya_api 发布时间: 20170929

900. laya.ui.RadioGroup_API3.0 [ 64%]

...Group);//将 radioGroup 添加到显示列表。 } private onSelect(index: number): void { console.log("当前选择的单选按钮索引: index= ", index); } } Hierarchy UIGroup RadioGroup Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior m...

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