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

大约有 170 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0082 秒)

141. laya.ui.Label_API3.0 [ 61%]

...ss Label_Example { public function Label_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 lab...

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

142. laya.ui.Panel_API3.0 [ 61%]

...Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from ...

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

143. laya.ui.UIGroup [ 61%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性true,或者通过getBounds方法获取设置true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

144. laya.ui.Dialog [ 61%]

...实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任...

来源: laya_api 发布时间: 20170929

145. laya.ui.WXOpenDataViewer_API3.0 [ 61%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 autoSize autoSize: boolean = false Inherited from AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动...

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

146. laya.ui.Radio_API3.0 [ 61%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Implementation of ISelect.autoSize Inherited from Text.autoSize D...

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

147. laya.ui.Button_API3.0 [ 61%]

... Button_Example { public function Button_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete()...

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

148. laya.ui.CheckBox_API3.0 [ 61%]

...ckBox_Example { public function CheckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():...

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

149. laya.ui.ColorPicker_API3.0 [ 61%]

...er_Example { public function ColorPicker_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():...

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

150. laya.ui.UIGroup [ 61%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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