大约有 2,738 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1923) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...bgColor = "#232628"; this.setup(); } setup() { this.createLabel("#FFFFFF", null).pos(30, 50); this.createLabel("#00FFFF", null).pos(290, 50); this.createLabel("#FFFF00", "#FFFFFF").pos(30, 100); this.createLabel("#000000", "#FFFFFF").pos(290, 100); this.createLabel("#FFFFFF", "#00FFFF").pos(30, 150)...
来源: Laya2.0_示例 发布时间: 20251209
...* ... * @author OttoChen */ public class TestMain { private var txt:Text = null; public function TestMain() { Laya.init(800, 800); txt = new Text(); txt.mouseEnabled = false; txt.overflow = Text.SCROLL; txt.size(Laya.stage.width, Laya.stage.height); txt.pos(10, 10); txt.fontSize = 30; txt.wordWrap =...
来源: Laya_社区 发布时间: 20180227
...dMap changeViewPortBySize(width:Number, height:Number, rect:Rectangle = null):Rectangle 在锚点的基础上计算,通过宽和高,重新计算视口 TiledMap createMap(mapName:String, viewRect:Rectangle, completeHandler:Handler, viewRectPadding:Rectangle = null, gridSize:Point = null, en...
来源: laya_api 发布时间: 20170929
...dMap changeViewPortBySize(width:Number, height:Number, rect:Rectangle = null):Rectangle 在锚点的基础上计算,通过宽和高,重新计算视口 TiledMap createMap(mapName:String, viewRect:Rectangle, completeHandler:Handler, viewRectPadding:Rectangle = null, gridSize:Point = null, en...
来源: Laya2.0_api 发布时间: 20190513
... Show Inherited Public Methods MethodDefined By FontClip(skin:String = null, sheet:String = null) FontClip addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 No...
来源: Laya2.0_api 发布时间: 20190513
...有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 ...
来源: laya_api 发布时间: 20170929
...有子对象,不销毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 ...
来源: laya_api 发布时间: 20170929
... var ctx=this.ctx; if (args[4] !=null){ ctx.fillStyle=args[4]; ctx.fillRect(x+args[0],y+args[1],args[2],args[3],null); } if (args[5] ...
来源: Laya_社区 发布时间: 20161210
...oy(destroyChild:Boolean = true):void { if(effect3D != null){ effect3D.destroy(); effect3D = null; } super.destroy(true); Laya.loader.clearRes(this._path); ...
来源: Laya_社区 发布时间: 20180517
...个 GeometryFilter 实例。 GeometryFilter event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定...
来源: laya_api 发布时间: 20170929