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

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

141. 分享,扩展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

142. laya.ui.TextInput [ 29%]

...rderColor : String 文本边框背景颜色,以字符串表示。 Label bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自...

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

143. laya.ui.TextInput [ 28%]

...rderColor : String 文本边框背景颜色,以字符串表示。 Label bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自...

来源: laya_api 发布时间: 20170929

144. laya.display.Text [ 26%]

...: "top": 居顶部对齐显示。 "middle": 居中对齐显示。 "bottom": 居底部对齐显示。 Text viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一...

来源: laya_api 发布时间: 20170929

145. laya.display.Text [ 26%]

...: "top": 居顶部对齐显示。 "middle": 居中对齐显示。 "bottom": 居底部对齐显示。 Text viewport : Rectangle 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小...

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

146. 屏幕适配 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

...满全屏,所以。开发者完全可以通过相对布局属性(topbottom),把背景拉到全屏以及按钮拉到屏幕相对位置显示。实现各个屏幕下都做到完美的全屏适配。 3.2.2 保高适配模式fixedheight fixedheight保高模式就是在保障设计高的内容...

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

147. laya.ui.Box [ 22%]

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

来源: laya_api 发布时间: 20170929

148. laya.ui.ScaleBox [ 22%]

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

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

149. laya.html.dom.HTMLDivElement [ 22%]

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

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

150. laya.ui.Box [ 22%]

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

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