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

大约有 445 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0079 秒)

311. laya.ui.TextArea [ 61%]

...y  TextArea(text:String) 创建一个新的 TextArea 示例。 TextArea addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...

来源: laya_api 发布时间: 20170929

312. laya.display.Text_API3.0 [ 61%]

....borderColor = "#fff000";//设置 text 的文本边框颜色。 Laya.stage.addChild(text);//将 text 添加到显示列表。 } } } example Text_Example(); function Text_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背...

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

313. laya.device.media.Video_API3.0 [ 60%]

...iewport visible volume width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater canPlayType clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOn...

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

314. graphics 绘制线条粗细不一样 [ 60%]

...          var sp:Sprite = new Sprite();             this.addChild(sp);             sp.pos(200, 200);             sp.graphics.drawRect(0, 0, 200, 200, "#ff0000", "#000000", 2);   附件 : --> 2018-05-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

来源: Laya_社区 发布时间: 20180510

315. laya.ui.TextArea [ 60%]

...y  TextArea(text:String) 创建一个新的 TextArea 示例。 TextArea addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

来源: Laya2.0_api 发布时间: 20190513

316. laya.physics.PhysicsDebugDraw_API3.0 [ 60%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...

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

317. laya.media.SoundNode_API3.0 [ 60%]

...m url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentP...

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

318. laya.display.Scene [ 60%]

...c Methods Show Inherited Public Methods MethodDefined By  Scene()Scene addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...

来源: Laya2.0_api 发布时间: 20190513

319. laya.ui.Component [ 60%]

...efined By  Component() 创建一个新的 Component 实例。 Component addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  callLater(method:Function, args...

来源: laya_api 发布时间: 20170929

320. 显示与切换图片(TypeScript-LayaAir基础篇(TS)-位图) [ 60%]

...用loadImage var ape: Sprite = new Sprite(); ape.pos(100,50); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monkey3.png"); } } } new laya.Sprite_DisplayImage(); ``` 在示例代码里,“`100,50`”是图片的显示坐标信息。示例代码运行效果如图2-1所示: ![图2-1](img/...

来源: Laya2.0_文档 发布时间: 20210715