大约有 175 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0079 秒)
...from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是...
来源: Laya3.0_api 发布时间: 20231115
...ndex 的默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的...
来源: Laya3.0_api 发布时间: 20231115
...from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是...
来源: Laya3.0_api 发布时间: 20231115
...from Node.components Defined in laya/display/Node.ts:971 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 contextHeight get contextHeight(): number Inherited from HTMLDivElement.contextHeight Defined in laya/html/dom/HTMLDivElement.ts:179 获取內容高...
来源: Laya3.0_api 发布时间: 20231102
...from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 count get count(): number Inherited from AnimationBase.count Defined in laya/display/AnimationBase.ts:269 当前动画中帧的总数。 Returns num...
来源: Laya3.0_api 发布时间: 20231115
...ction onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设置 text 的文本颜色。 text.font = "Arial";//设置 text 的文本字体。 text.bold = true;//设置 text 的文本...
来源: Laya3.0_api 发布时间: 20231115
...from Node.components Defined in laya/display/Node.ts:971 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 contextHeight get contextHeight(): number Defined in laya/html/dom/HTMLDivElement.ts:179 获取內容高度 Returns number contextWidth get contextW...
来源: Laya3.0_api 发布时间: 20231102
...constructor Defined in laya/ani/swf/MovieClip.ts:83 创建一个 MovieClip 实例。 Parameters Default value parentMovieClip: MovieClip = null 父MovieClip,自己创建时不需要传该参数 Returns MovieClip Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...nstructor Defined in laya/display/Input.ts:102 创建一个新的 Input 类实例。 Returns Input Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _onPostLayout _onPostLayout: () => void Inherited from Text._onPostLayout Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...from Node.components Defined in laya/display/Node.ts:983 返回所有组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 customRenderEnable set customRenderEnable(b: boolean): void Inherited from Text.customRenderEnable Defined in laya/display/Sprite.ts:327 设置是...
来源: Laya3.0_api 发布时间: 20231115