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

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

651. laya.ui.ComboBox_API3.0 [ 14%]

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

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

652. laya.display.Stage [ 14%]

...生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  exitFullscreen():void退出全屏模式Stage frameLoop(delay:int, caller:*, method:Fun...

来源: laya_api 发布时间: 20170929

653. laya.ui.VBox_API3.0 [ 14%]

...ne _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherit...

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

654. laya.ui.Slider_API3.0 [ 14%]

...ne _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherit...

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

655. laya.ui.HBox_API3.0 [ 14%]

...ne _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherit...

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

656. laya.ui.Label_API3.0 [ 14%]

...; public class 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 类的实...

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

657. laya.ui.Tab_API3.0 [ 14%]

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

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

658. laya.ui.Image_API3.0 [ 14%]

...; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的...

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

659. laya.ui.FontClip_API3.0 [ 14%]

...ne _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherit...

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

660. laya.ui.Dialog_API3.0 [ 14%]

...e var dialog:Dialog_Instance; public function Dialog_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } pr...

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