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

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

281. laya.display.Text [ 41%]

...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算...

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

282. 导航标签组组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

...距 标签水平对齐 文本标签的水平对齐方式,分别为左,居中,右 标签垂直对齐 文本标签的垂直对齐方式,分别为顶部,中间,底部 Tab组件可以通过labels增加标签,如动图1-4中所示,默认的Tab组件中只有两个标签。如果想增加...

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

283. CheckBox属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 40%]

...--------------------------- | | labelAlign | 标签对齐模式,默认为居中对齐。注:在CheckBox中无效 | | labelColors | 表示标签各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。默认为“蓝色,绿色”。 | | labelBold | 表示标签文...

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

284. CheckBox属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 39%]

...--------------------------- | | labelAlign | 标签对齐模式,默认为居中对齐。注:在CheckBox中无效 | | labelColors | 表示标签各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。默认为“蓝色,绿色”。 | | labelBold | 表示标签文...

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

285. CheckBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 39%]

...--------------------------- | | labelAlign | 标签对齐模式,默认为居中对齐。注:在CheckBox中无效 | | labelColors | 表示标签各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。默认为“蓝色,绿色”。 | | labelBold | 表示标签文...

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

286. 分享个用美术资源做位图文本的方法。。。 [ 37%]

...gt;=0;i--){ width -= sps[i].width + this.padding; sps[i].x = width; } } // 居中 private setCharsPosOnCenter(){ if(!this.text || this.text == ""){ return; } var sps = this.charSprites; var length = sps.length; var width = this.width; var allCharsWidth = 0; for(var i=0;i<length;i++){ allCharsWidt...

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

287. laya.ui.VBox [ 35%]

...dePublic Constants ConstantDefined By  CENTER : String = center[static] 居中对齐。 VBox  LEFT : String = left[static] 左对齐。 VBox  NONE : String = none[static] 无对齐。 VBox  RIGHT : String = right[static] 右对齐。 VBoxProperty Detailwidthpropertywidth:Number[override] Im...

来源: laya_api 发布时间: 20170929

288. laya.display.Stage_API3.0 [ 35%]

..._CENTER: string = "center" Defined in laya/display/Stage.ts:89 画布水平居中对齐。 Static ALIGN_LEFT ALIGN_LEFT: string = "left" Defined in laya/display/Stage.ts:85 画布水平居左对齐。 Static ALIGN_MIDDLE ALIGN_MIDDLE: string = "middle" Defined in laya/display/Stage.ts:93 画布垂...

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

289. laya.ui.HBox [ 35%]

...bottom[static] 居底部对齐。 HBox  MIDDLE : String = middle[static] 居中对齐。 HBox  NONE : String = none[static] 无对齐。 HBox  TOP : String = top[static] 居顶部对齐。 HBoxProperty Detailheightpropertyheight:Number[override] Implementation     public function get heigh...

来源: laya_api 发布时间: 20170929

290. laya.ui.VBox [ 34%]

...dePublic Constants ConstantDefined By  CENTER : String = center[static] 居中对齐。 VBox  LEFT : String = left[static] 左对齐。 VBox  NONE : String = none[static] 无对齐。 VBox  RIGHT : String = right[static] 右对齐。 VBoxProperty Detailwidthpropertywidth:Number[override] Im...

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