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

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

71. UI 控件多次调用 RESIZE 回调问题 [ 60%]

... RESIZE 回调问题 var a = new Laya.Box(); a.left = a.top = a.right = a.bottom = 0; a.on(Laya.Event.RESIZE, this, () => { console.warn(" resize ===== "); }) Laya.stage.addChild(a); Laya.timer.loop(1000, this, () => { a.addChild(new Laya.Box()); }); --------------- 测试代码如上,每1s...

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

72. view里面的图片怎么跟着变大变小 [ 60%]

...父容器的位置!具体的你看下属性栏中的left、right、topbottom 2017-10-20 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 haiboannacom 相关问题 请问LayaAir中如何使图片以圆形的方式显示? 安装layaAi...

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

73. laya.ui.ColorPicker_API3.0 [ 59%]

...tive activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hid...

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

74. laya.ui.ProgressBar_API3.0 [ 59%]

...isWidthSet active activeInHierarchy alpha anchorX anchorY bar bg blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hid...

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

75. laya.ui.Slider_API3.0 [ 59%]

...ctive activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hid...

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

76. laya.ui.Image_API3.0 [ 59%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY color components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray grou...

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

77. 关于缩放模式下的缩放比 [ 59%]

...同来自: 如果是组件的话你可以设置它的left,right,topbottom。这样不管你如果缩放,它离父节点的距离都是一样的。具体的解释你可以去看下Component 的API 2017-11-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...

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

78. laya.ui.UIGroup_API3.0 [ 59%]

...sWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray ...

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

79. laya.display.Stage [ 59%]

... 取值范围: "top" :居顶部对齐; "middle" :居中对齐; "bottom" :居底部对齐; Stage alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值...

来源: laya_api 发布时间: 20170929

80. 初学者求助,如何通过九宫格设置image横向放大且不失真 [ 58%]

... 九宫格的值,分别对应top(上边距)、right(右边距)、bottom(下边距)、left(左边距),在4条线的中间部分为拉伸部分,4条线的外部是不进行拉伸的部分。 2016-12-20 1 2 分享 微博 QZONE 微信 182*****369 赞同来自: 将作图放大至右...

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