大约有 167 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0054 秒)
Laya_社区(84) Laya3.0_api(40) Laya_示例(12) Laya2.0_文档(10) Laya3.0_文档(10) Laya2.0_示例(9) laya_api(1) Laya2.0_api(1)
....defaultFontStr (http://stand.alone.version/lib ... 928:15) at Label.__proto.measureWidt Demo在附件中,是导出的单机版的2.2.0beta4的android studio工程 原始laya项目在之前的帖子里面已经上传了,就不重复传了 我们很理解官方研发人员非常...
来源: Laya_社区 发布时间: 20190829
...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
....png) (图) d.拖入此单元项的普通显示对象。 此处以 Label 为例,从资源面板里选择并拖入一个 Label 组件对象,在此给这个 Label 对象设置一下属性 name 值为 label ,方便在脚本中对它进行赋值,此name 属性值自定义即可。再设...
来源: Laya2.0_文档 发布时间: 20210714
[2.2.0]Label斜体不显示文字, 100%复现, 这次不闪退了 LayaNative2.2.0 layaAir2.2.0 ide2.2.0 还是老规矩, 官方2D示例修改, 将文字设为斜体. this.tipLbll.italic = true; //这是重点 this.tipLbll.bold = false; this.tipLbll.text = "A测试B"; 进游戏死掉, ...
来源: Laya_社区 发布时间: 20190730
...s._sources && (this._bitmap.source=this._sources[index]); if (this.label){ this._text.color=this._labelColors[index]; if (this._strokeColors)this._text.strokeColor=this._strokeColors[index]; } } __proto.changeClips=function(){ var img=Loader.getRes(this._skin); if (!img){ console.log("lose s...
来源: Laya_社区 发布时间: 20170516
...高,滚动条就出现了。初步确定是键盘输入文字无法改变label的textHeight,还是说别的什么情况?有没有什么处理方式? 2017-08-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20170812
... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...
来源: Laya3.0_api 发布时间: 20231115
... _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled...
来源: Laya3.0_api 发布时间: 20231115
...件(脚本) var _script = cube.addComponent(SceneScript) as SceneScript; //label用于显示 var _lab = new Laya.Label(); _lab.text = "test"; _lab.height = 100; _lab.width = 100; _lab.fontSize = 40; _lab.pos(200,200); Laya.stage.addChild(_lab); //给脚本的加强表现用方法赋值 _script.showM...
来源: Laya2.0_文档 发布时间: 20210715
...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