大约有 51 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0268 秒)
...包中取当前语言的文本内容。并对此文本中的{i}文本进行替换。 设置Text.langPacks语言包后,即可使用lang获取里面的语言 例如: (1)text 的值为“我的名字”,先取到这个文本对应的当前语言版本里的值“My name”,将“My name”...
来源: laya_api 发布时间: 20170929
...会抛出异常。 Node replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true, jumpFrame:Boolean = fa...
来源: laya_api 发布时间: 20170929
...包中取当前语言的文本内容。并对此文本中的{i}文本进行替换。 设置Text.langPacks语言包后,即可使用lang获取里面的语言 例如: (1)text 的值为“我的名字”,先取到这个文本对应的当前语言版本里的值“My name”,将“My name”...
来源: laya_api 发布时间: 20170929
...ics transform(matrix:Matrix, pivotX:Number = 0, pivotY:Number = 0):void 替换绘图的当前转换矩阵。 Graphics translate(x:Number, y:Number):void 重新映射画布上的 (0,0) 位置。 GraphicsProperty Detailcmdspropertycmds:Array Implementation public function get cmds():Arra...
来源: laya_api 发布时间: 20170929
...对象缓存失效。Sprite replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Component scale(scaleX:Number, scaleY:Number, speedMo...
来源: laya_api 发布时间: 20170929
...对象缓存失效。Sprite replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node scale(scaleX:Number, scaleY:Number, speedMode:Boolean = false):Sprite 设置缩放。相当于分别设置scaleX和scaleY属性。 因为返回值为Sprite对象本身,所以可以使用如下语法...
来源: laya_api 发布时间: 20170929
...对象缓存失效。Sprite replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node scale(scaleX:Number, scaleY:Number, speedMode:Boolean = false):Sprite 设置缩放。相当于分别设置scaleX和scaleY属性。 因为返回值为Sprite对象本身,所以可以使用如下语法...
来源: laya_api 发布时间: 20170929
...对象缓存失效。Sprite replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node scale(scaleX:Number, scaleY:Number, speedMode:Boolean = false):Sprite 设置缩放。相当于分别设置scaleX和scaleY属性。 Sprite setBounds(bound:Rectangle):void 设置bounds大小,如果...
来源: laya_api 发布时间: 20170422
...对象缓存失效。Sprite replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Component scale(scaleX:Number, scaleY:Number, speedMo...
来源: laya_api 发布时间: 20170929
...对象缓存失效。Sprite replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Component scale(scaleX:Number, scaleY:Number, speedMo...
来源: laya_api 发布时间: 20170929