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

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

81. laya.ui.ProgressBar_API3.0 [ 41%]

...组件显示内容加载进度。 example 以下示例代码,创建了一个 ProgressBar 实例,设置了它皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { privat...

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

82. laya.ui.Clip_API3.0 [ 41%]

...片高度 clipHeight , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 packag...

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

83. laya.ui.Image_API3.0 [ 41%]

...UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Image 实例,设置了它皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画...

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

84. laya.ui.CheckBox [ 40%]

...Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时默认属性是:selected。 Publ...

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

85. laya.ui.Radio [ 40%]

...选择中做出一种选择。 用户一次只能选择 Radio 组中一个成员。选择未选中组成员将取消选择该组中当前所选 Radio 控件。 See alsolaya.ui.RadioGroupPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

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

86. laya.ui.Box_API3.0 [ 40%]

...Externals Only exported Menu Globals "laya/ui/Box" Box Class Box Box 类是一个控件容器类。 Hierarchy UIComponent Box List LayoutBox Panel UIGroup ScaleBox Tree ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough...

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

87. laya.ui.ScaleBox_API3.0 [ 40%]

...or Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphic...

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

88. laya.ui.Panel_API3.0 [ 40%]

...nals Only exported Menu Globals "laya/ui/Panel" Panel Class Panel Panel 是一个面板容器类。 Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet ...

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

89. laya.ui.LayoutBox_API3.0 [ 40%]

...ed Menu Globals "laya/ui/LayoutBox" LayoutBox Class LayoutBox LayoutBox 是一个布局容器类。 Hierarchy Box LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSe...

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

90. laya.ui.VBox_API3.0 [ 39%]

...xternals Only exported Menu Globals "laya/ui/VBox" VBox Class VBox VBox 是一个垂直布局容器类。 Hierarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT draw...

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