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

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

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

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

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

52. laya.ui.VBox_API3.0 [ 59%]

...Set active activeInHierarchy align alpha anchorX anchorY bgColor 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

53. UI-RefreshList [ 59%]

...hLoading = new Box(); this.refreshLoading.pos(133, 0); this.refreshLoading.bottom = 10; this.refreshLoading.visible = false; this.baseBox.addChild(this.refreshLoading); // 加载动画 this.loadingAni = new Animation(); this.loadingAni.loadAnimation("res/ui/refreshList/ani/Refresh.ani"); this.loadin...

来源: Laya2.0_示例 发布时间: 20251130

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

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

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

55. laya.display.Stage [ 59%]

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

来源: laya_api 发布时间: 20170929

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

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

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

57. laya有没有一个容器,他的长宽自动等于父容器长宽啊 [ 58%]

...找到方法了,使用可以使用Laya.Box 然后设置,left right top bottom 全部都地等于零,这样这个Box的就自动等于父类长宽的,感觉这个也是最快捷方便的一个方法了(本来使用Laya。stage.width,发现,发现只要尺寸变换就要从新获取比较...

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

58. laya.display.Stage [ 57%]

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

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

59. 【分享】遮罩 的使用及应用 [ 57%]

...nsou1 • 2018-01-31 14:06 请问一下遮罩可以使用left, top, right, bottom属性吗 https://ask.layabox.com/question/11412

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

60. laya.ui.HBox_API3.0 [ 57%]

...phics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed ...

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