大约有 228 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(93) Laya3.0_api(41) Laya2.0_文档(29) Laya2.0_api(18) laya_api(17) Laya2.0_示例(12) Laya3.0_文档(9) Laya_示例(9)
...个 CheckBox 类的实例对象 checkBox ,传入它的皮肤skin和标签label。 checkBox.x = 100;//设置 checkBox 对象的属性 x 的值,用于控制 checkBox 对象的显示位置。 checkBox.y = 100;//设置 checkBox 对象的属性 y 的值,用于控制 checkBox 对象的显示位置。 ...
来源: Laya3.0_api 发布时间: 20231115
...d{ var itemImg:Image=cell.getChildByName("itemImg") as Image; var itemName:Label=cell.getChildByName("itemName") as Label; itemImg.skin=cell.dataSource.image_url; itemName.width=Number(itemName.text.length*20); itemName.height=20; itemName.fontSize =12; itemName.text=cell.dataSource.cat_name; }fontS...
来源: Laya_社区 发布时间: 20170829
...is.onPlaySound); } private createButton(label: string): Sprite { var w: number = 110; var h: number = 40; var button: Sprite = new Sprite(); button.siz...
来源: Laya_社区 发布时间: 20201203
...载完成!"); var button:Button = new Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 button ,并传入它的皮肤。 button.x = 100;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y = 100;//设置 button 对象的...
来源: Laya3.0_api 发布时间: 20231115
...M,需要将DOM在resize 和scroll的时候 始终绑定到UI中的 参考label上。 2,目前遇到的问题 PC端测试,在UI加载完成后,将DOM绑定到resize和scroll事件上,可以实现DOM与参考Label 位置绑定。 但是,在手机上,如微信浏览器,初次加载...
来源: Laya_社区 发布时间: 20170720
...t; Handler = Laya.Handler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.load...
来源: Laya2.0_示例 发布时间: 20251130
...ScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D label labelAlign labelBold labelColors labelFont labelPadding labelSize labelStroke labelStrokeColor labelVAlign left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollR...
来源: Laya3.0_api 发布时间: 20231115
...因? 如何清除sharedCanvas上一次绘制的内容 资源编辑器的label控件的垂直居中有问题 fixed_height时不居中 对齐模式选居中 没效果 Laya2.20bata4版本使用HTMLDivElement报错 drawTexture时,Matrix对象,a=-1,无法实现水平翻转 问题状态 最新活动...
来源: Laya_社区 发布时间: 20190227
...icButton.on(Event.CLICK, this, this.onPlayMusic); } private createButton(label: string): Sprite { var w: number = 110; var h: number = 40; var button: Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei...
来源: Laya_社区 发布时间: 20190421
...的角度)这样的方法?或求3D抛物线移动的方法或算法。 Label组件字体大小计算不对 微信6.7.2版本3D显示BUG 一个简单的bug请官方人自己测试一下_带示例代码 问题状态 最新活动: 2021-07-21 11:56 浏览: 5312 关注: 2 人 156*****912 • 2021-07-...
来源: Laya_社区 发布时间: 20210716