大约有 133 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0081 秒)
...ple package { import laya.display.Text; public class Text_Example { public function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text(...
来源: Laya3.0_api 发布时间: 20231115
...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...
来源: Laya3.0_api 发布时间: 20231115
...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231102
...tInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, ...
来源: Laya3.0_api 发布时间: 20231115
...Loader; import laya.utils.Handler; public class Animation_Example { public function Animation_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation...
来源: Laya3.0_api 发布时间: 20231115
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231115
...extArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete))...
来源: Laya3.0_api 发布时间: 20231115
...ontext.ts:202 Returns void Globals "laya/resource/NativeContext" CONTEXT2D_FUNCTION_ID NativeContext constructor _buffer _byteArray _fdata _idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEX...
来源: Laya3.0_api 发布时间: 20231102