大约有 136 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya2.0_文档(69) Laya_社区(39) Laya3.0_文档(23) laya_api(1) Laya_示例(1) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1)
...图像的组件,用来显示位图图像。可以设置 Image 组件的 skin 属性来改变 Image 组件呈现的图像。Image 组件支持九宫格数据设定,用于实现图像放大后图像显示不失真的效果。Image 组件的脚本接口请参考 Image API。 如图1-1所示,可...
来源: Laya3.0_文档 发布时间: 20251010
..._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
...背景 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
...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。  (图) ####5. 调整 Tree 的宽高。 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...
来源: Laya2.0_文档 发布时间: 20210715
...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。  (图) ####5. 调整 Tree 的宽高。 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...
来源: Laya2.0_文档 发布时间: 20210714
...里选择一个 VScrollBar 组件,将VScrollBar 组件的资源地址(skin 属性值)设置为 Tree 组件属性scrollBarSkin 的值。  (图) ####5. 调整 Tree 的宽高。 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此...
来源: Laya2.0_文档 发布时间: 20210715
...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
...与内容相关的链接 提交 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
...与内容相关的链接 提交 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
...法2:选择list组件,右侧属性面板常用中会出现vScrollBarrSkin,从资源面板里选择并拖拽一个VScrollBarr组件到这个skin属性中,会立即生成滚动条  (图4) ####5. 拖动设置 List 的宽高 设置属性 repeatX 的值为...
来源: Laya2.0_文档 发布时间: 20210715