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

大约有 136 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)

31. 图像组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 89%]

...图像的组件,用来显示位图图像。可以设置 Image 组件的 skin 属性来改变 Image 组件呈现的图像。Image 组件支持九宫格数据设定,用于实现图像放大后图像显示不失真的效果。Image 组件的脚本接口请参考 Image API。 如图1-1所示,可...

来源: Laya3.0_文档 发布时间: 20251010

32. 请问laya有没有类似翻页容器(pageView)的组件? [ 89%]

..._downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMou...

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

33. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 88%]

...背景         var bg:Image = new Image();         bg.skin = "res/img/loadingBg.jpg";         Laya.stage.addChild(bg);            //实例一个文本         txt = new Text();         txt.text = "适配模式("+Stage.SCALE_EXACTFIT+") ";...

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

34. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 88%]

...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。 ​ ![图片0.png](img/11.png) ​ (图) ####5. 调整 Tree 的宽高。 ​ 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...

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

35. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 88%]

...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。 ​ ![图片0.png](img/11.png) ​ (图) ####5. 调整 Tree 的宽高。 ​ 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...

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

36. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 87%]

...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。 ​ ![图片0.png](img/11.png) ​ (图) ####5. 调整 Tree 的宽高。 ​ 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...

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

37. 为什么pannel里显示两张同样的图片显示不出来,只能显示一张 [ 85%]

...panel = new Laya.Panel(); this.panel.size(720, 1136); this.panel.vScrollBarSkin = "comp/vscroll.png"; Laya.stage.addChild(this.panel); var img:Laya.Image = new Laya.Image(); img.skin = "res/GameBG2.jpg" this.panel.addChild(img) var img1:Laya.Image = new Laya.Image(); img1.y = 1136; img1.skin = "res/...

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

38. 怎样改变图片大小 [ 85%]

...与内容相关的链接 提交 1 个回复 qian 赞同来自: this.bg_img.skin = "ui/bg.jpg"; this.bg_img.width = Laya.stage.width; this.bg_img.height = Laya.stage.height; Image使用skin修改显示,改变宽高时,会拉伸显示内容 2018-01-30 0 0 分享 微博 QZONE 微信 为什么被折...

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

39. 怎么获取图片的原始宽高 [ 84%]

...与内容相关的链接 提交 1 个回复 qian 赞同来自: this.bg_img.skin = "ui/bg.jpg"; this.bg_img.width = Laya.stage.width; this.bg_img.height = Laya.stage.height; Image使用skin修改显示,改变宽高时,会拉伸显示内容 2018-01-24 0 2 分享 微博 QZONE 微信 为什么被折...

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

40. List属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 83%]

...法2:选择list组件,右侧属性面板常用中会出现vScrollBarrSkin,从资源面板里选择并拖拽一个VScrollBarr组件到这个skin属性中,会立即生成滚动条 ​ ![图片0.png](img/4.png) ​ (图4) ####5. 拖动设置 List 的宽高 ​ 设置属性 repeatX 的值为...

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