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

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

121. laya.ui.Label [ 40%]

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

来源: laya_api 发布时间: 20170929

122. laya.ui.VBox [ 40%]

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

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

123. laya.ui.Label [ 40%]

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

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

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

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

125. 一篇了解LayaAir的屏幕适配,及有效抗锯齿(TypeScript-LayaAir基础篇(TS)-屏幕适配) [ 38%]

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

来源: Laya2.0_文档 发布时间: 20210715

126. laya.ui.Dialog_API3.0 [ 36%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage dragArea drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea i...

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

127. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

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

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

128. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...gger.valign = 'middle'; this.logger.left = this.logger.right = this.logger.bottom = 10; this.logger.top = 60; this.logger.text = "等待响应...\n"; this.owner.addChild(this.logger); } /** * 请求出错时触发的回调 * @param e 事件对象 */ private onHttpRequestError(e: any = null): void { ...

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

129. laya.display.Scene_API3.0 [ 32%]

...htSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D left ...

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

130. laya.ui.TextArea [ 31%]

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

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