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

大约有 168 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0057 秒)

161. laya.ui.List [ 35%]

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

来源: laya_api 发布时间: 20170929

162. laya.display.Text_API3.0 [ 35%]

...: "top": 居顶部对齐显示。 "middle": 居中对齐显示。 "bottom": 居底部对齐显示。 Returns string Defined in laya/display/Text.ts:501 表示文本的垂直显示方式。 取值: "top": 居顶部对齐显示。 "middle": 居中对齐显示。 "bottom": 居底部对...

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

163. 基础文本 · LayaAir3.0文档 · LAYABOX [ 34%]

...对齐(valign)分别是top(居顶对齐)、middle(居中对齐)、bottom(居底对齐) bgColor 背景颜色,勾选后可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 borderColor 文本边框颜色,勾选后可以直接输入颜...

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

164. laya.ui.List [ 34%]

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

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

165. laya.display.Input_API3.0 [ 31%]

...: "top": 居顶部对齐显示。 "middle": 居中对齐显示。 "bottom": 居底部对齐显示。 Returns string Inherited from Text.valign Defined in laya/display/Text.ts:501 表示文本的垂直显示方式。 取值: "top": 居顶部对齐显示。 "middle": 居中对齐显示...

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

166. laya.html.dom.HTMLDivElement_API3.0 [ 31%]

...边颜色 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:100px; 对象高...

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

167. 分享,扩展Laya.Text组件实现简单的富文本 [ 30%]

...nt * lineHeight) * 0.5 + padding[0] - padding[2]; else if (tempVAlign === "bottom") startY = this._height - visibleLineCount * lineHeight - padding[2]; }; var style = this._style; if (tCurrBitmapFont && tCurrBitmapFont.autoScaleSize) { var bitmapScale = tCurrBitmapFont.fontSize / this.fontSi...

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

168. 项目设置详解 · LayaAir3.0文档 · LAYABOX [ 30%]

...齐的参数为:top(顶部对齐)、middle(垂直居中对齐)、bottom(底部对齐)。 AlignH水平对齐的参数为:left(居左对齐)、center(水平居中对齐)、right(居右对齐)。 [!Tip] 画布对齐不能理解为UI界面基于stage舞台的对齐,只是...

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