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

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

3211. laya.ui.List [ 15%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象的实际显示区域高度(以像素...

来源: laya_api 发布时间: 20170929

3212. laya.ui.List [ 15%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

3213. laya.ui.UIComponent_API3.0 [ 15%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...

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

3214. laya.ui.WXOpenDataViewer_API3.0 [ 15%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from AnimationBase.zOrder Defined in laya/display/Sprite.ts:1779 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上...

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

3215. laya.ui.Button_API3.0 [ 15%]

...点击事件处理器。 Laya.stage.addChild(button);//将此 button 对象添加到显示列表。 } private function onClickButton(button:Button):void { trace("按钮button被点击了!"); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefe...

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

3216. laya.ui.CheckBox_API3.0 [ 15%]

...事件处理器。 Laya.stage.addChild(checkBox);//将此 checkBox 对象添加到显示列表。 } private function onClick(checkBox:CheckBox):void { trace("输出选中状态: checkBox.selected = " + checkBox.selected); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColo...

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

3217. laya.ui.ProgressBar_API3.0 [ 14%]

...ar 实例,设置了它的皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设...

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

3218. laya.ui.Clip_API3.0 [ 14%]

...ip 对象的显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函数侦听。 Laya.stage.addChild(clip);//将此 clip 对象添加到显示列表。 } private function onClick():void { trace("clip 的点击事件侦听处理函数。clip.total="+ clip.total); if (clip....

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

3219. laya.ui.ColorPicker_API3.0 [ 14%]

...调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } private function onChangeColor(colorPicket:ColorPicker):void { trace("当前选择的颜色: " + colorPicket.selectedColor); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.b...

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

3220. laya.ui.RadioGroup_API3.0 [ 14%]

...时执行的处理器。 Laya.stage.addChild(radioGroup);//将 radioGroup 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的单选按钮索引: index= ", index); } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor ...

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