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

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

81. laya.ui.View [ 51%]

...tring指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重...

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

82. layabox怎样实现相对布局? [ 50%]

... 苍蝇也是鸟 • 2018-05-23 17:28 @Laya_Aaron:这个是用来控制top,bottom,left,right的吧,默认是开启的。更复杂的适配布局我估计只能在代码里做调整了 Laya_Aaron • 2018-05-23 17:28 @苍蝇也是鸟:那就只能是代码里调整了 苍蝇也是鸟 • 2018-05-23 ...

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

83. laya.ui.UIComponent [ 50%]

...tring指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自...

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

84. laya.ui.Component [ 50%]

...tring指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自...

来源: laya_api 发布时间: 20170929

85. HTML文本 · LayaAir3.0文档 · LAYABOX [ 50%]

...颜色 * padding:10px 10px 20px 20px; 边缘的距离 * vertical-align:top|bottom|middle; 垂直对齐方式 * align:left|right|center; 水平对齐方式 * line-height:20px; 行高 * background-color:#ff0000; 背景颜色 * border-color:#ff0000; 边框颜色 * width:100px; 对象宽度 * height:100...

来源: Laya3.0_文档 发布时间: 20230303

86. 基础使用与构成 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...例如下: this.xx.left = 0; this.xx.right = 0; this.xx.top = 0; this.xx.bottom = 0; this.xx.CenterX = 0; this.xx.CenterY = 0; 3.2 数据源dataSource 在实际开发中,从网络获取的数据有时候与 UI 组件预期的数据结构不完全一致,尤其在处理列表组件时更为常...

来源: Laya3.0_文档 发布时间: 20251010

87. 竖屏游戏实现背景缩放铺满全屏,UI相对高度等比较缩放,UI位置始终按照竖屏比例显示在屏幕中间 [ 49%]

...334*750,然后设置给UI页面设置相对布局(leftrighttopbottom),最后在代码中设置适配模式SCALE_FIXED_WIDTH !

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

88. laya.ui.ColorPicker_API3.0 [ 49%]

...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

89. laya.ui.ProgressBar_API3.0 [ 49%]

...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

90. laya.ui.Slider_API3.0 [ 49%]

...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