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

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

551. laya.ui.Tab [ 69%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多...

来源: laya_api 发布时间: 20170929

552. [BUG]大量调用 graphics.drawCircle 导致错误 [ 69%]

...tage.addChild(Sprite) } 其他: Laya.init(Laya.Browser.width, Laya.Browser.height, Laya.WebGL);//Laya.WebGL Laya.stage.scaleMode = "showall"; Laya.stage.alignH = "center"; Laya.stage.alignV = "center"; Laya.stage.useHDRendering = false; //高清 laya.utils.Stat.show(); //调试 图片: 其他: 内...

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

553. 不带格式后缀的图片无法成功加载 [ 69%]

... nodee = new Laya.Sprite() nodee.texture = picTemp nodee.width = 500 nodee.height = 250 nodee.x = 100 nodee.y = 350 Laya.stage.addChild(nodee) }));上面这个图片无法正常显示,打印 texture 的宽是 undefined,如果是带后缀的图片,比如.jpg就可以正常展示图片。 附件...

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

554. SCALE_FIXED_WIDTH适配屏幕的问题 [ 69%]

...          Laya.stage.width = 1218;                 Laya.stage.height = 750;                 if (Laya.Browser.onPC) {                     //设置舞台缩放模式                     Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL;                  ...

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

555. new Laya.Templet() 时,说这不是一个constructor [ 68%]

...高度] this.aniFighter.pivot(512/2,304/2);//rectBounds.width/2,rectBounds.height/2); this.aniFighter.pos(Laya.stage.width/2,Laya.stage.height/2); iamnst • 2018-12-12 22:11 在编辑模式下,引入相关类库就可以了 狄 • 2018-11-30 16:47 请问有解决吗?我也遇到同样的问题...

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

556. laya.ui.TextArea [ 68%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component editable : Boolean 设置可编辑状态。 T...

来源: laya_api 发布时间: 20170929

557. laya.ui.ViewStack_API3.0 [ 68%]

...url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage dra...

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

558. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 68%]

...          Laya.stage.width = 1218;                 Laya.stage.height = 750;                 if (Laya.Browser.onPC) {                     //设置舞台缩放模式                     Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL;                  ...

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

559. 文本对齐与自动换行(ActionScript-LayaAir基础篇(AS3)-文本) [ 68%]

...景 txt.bgColor = "#c30c30"; //设置文本的宽高 txt.width = 400; txt.height = 400; //设置文本水平居中 txt.align = "center"; //设置文本垂直居中 txt.valign = "middle"; Laya.stage.addChild(txt); } } } ``` ![5](img/5.png) 在实际编码中如果需要其他的对齐模式,请参...

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

560. laya.ui.ColorPicker [ 68%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

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