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

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

521. 如何监听移动端软键盘的弹出和收回? [ 69%]

...通过侦听Event.RESIZE事件可以对当前可视窗口区域的Width和Height属性进行监听,通过判断Width和Height属性是否发生改变来判断当前软键盘的弹出和收回状态。   参考代码如下:package { import flash.display.Sprite; import flash.display.StageScaleMo...

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

522. 设置遮罩(TypeScript-LayaAir基础篇(TS)-位图) [ 69%]

...化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Laya["Physics"] && Laya["Physics"].enable(); Laya["DebugPanel"] && Laya["Physics"].enable(); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.s...

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

523. laya.ui.Panel_API3.0 [ 69%]

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

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

524. 关于骨骼动画的高度和宽度 [ 69%]

...画对象加载完毕后,如何获取动画的高度和宽度,WIDTH和HEIGHT 打印出来都为0 2016-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 你好   请在加载完成...

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

525. laya.ui.OpenDataContextView_API3.0 [ 69%]

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

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

526. laya.ui.ColorPicker_API3.0 [ 69%]

...hangeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displaye...

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

527. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 69%]

...x: number = -1; constructor() { Laya.init(Laya.Browser.width, Laya.Browser.height,Laya.WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Laya.Stat.show(); this.startFun(); } private startFun(): void { //创建动画模板 this.templet = Laya.SpineTempletBinary(...

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

528. laya.ui.Label [ 69%]

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

来源: laya_api 发布时间: 20170929

529. laya.ui.LayoutBox_API3.0 [ 69%]

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

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

530. laya.ui.TipManager_API3.0 [ 69%]

...wtocanvCtx offsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedI...

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