大约有 86 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0087 秒)
...组件显示内容的加载进度。 example 以下示例代码,创建了一个新的 ProgressBar 实例,设置了它的皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { privat...
来源: Laya3.0_api 发布时间: 20231115
...UI组件均不支持异步加载。 example 以下示例代码,创建了一个新的 Image 实例,设置了它的皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画...
来源: Laya3.0_api 发布时间: 20231115
...Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的的默认属性是:selected。 Publ...
来源: Laya2.0_api 发布时间: 20190513
...片的高度 clipHeight , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 packag...
来源: Laya3.0_api 发布时间: 20231115
...的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当前所选的 Radio 控件。 See alsolaya.ui.RadioGroupPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...
来源: Laya2.0_api 发布时间: 20190513
...主、Charley 插件系统是引擎集成开发环境(LayaAir3-IDE)中一个至关重要的组成部分,它使开发者能够通过添加和使用引擎资源商店的第三方插件,或自定义插件来极大地扩展和增强IDE的核心功能。这种扩展性不仅允许开发者针对...
来源: Laya3.0_文档 发布时间: 20251010
...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
...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
...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
...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