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

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

4881. laya.ui.VBox [ 21%]

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

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

4882. laya.ui.HBox [ 21%]

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

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

4883. laya.ui.LayoutBox [ 21%]

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

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

4884. laya.ui.HScrollBar_API3.0 [ 21%]

...化处理器。 Laya.stage.addChild(hScrollBar);//将此 hScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画...

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

4885. laya.ui.VScrollBar_API3.0 [ 21%]

...化处理器。 Laya.stage.addChild(vScrollBar);//将此 vScrollBar 对象添加到显示列表。 } private function onChange(value:Number):void { trace("滚动条的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画...

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

4886. laya.ui.ProgressBar_API3.0 [ 21%]

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

4887. laya.ui.Clip_API3.0 [ 21%]

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

4888. laya.ui.HSlider_API3.0 [ 20%]

...Slider 位置变化处理器。 Laya.stage.addChild(hSlider);//把 hSlider 添加到显示列表。 } private function onChange(value:Number):void { trace("滑块的位置: value=" + value); } } } example Laya.init(640, 800, "canvas");//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = ...

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

4889. laya.ui.VSlider_API3.0 [ 20%]

...Slider 位置变化处理器。 Laya.stage.addChild(vSlider);//把 vSlider 添加到显示列表。 } private function onChange(value:Number):void { trace("滑块的位置: value=" + value); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布...

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

4890. laya.ui.Image_API3.0 [ 20%]

...了一个新的 Image 实例,设置了它的皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色...

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