大约有 129 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
...n 水平对齐方式,共有三种方式。left:居左对齐,center:居中对齐,right:居右对齐。 切片字符表 sheet 位图内容范围,位图内容在有换行时需要在换行的位置添加空格。 切片显示内容 value 位图数字内容。 资源分组 group 加载分...
来源: Laya3.0_文档 发布时间: 20251010
...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
...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...
来源: Laya2.0_api 发布时间: 20190513
..._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
...示例: let sprite = new Laya.Sprite(); // 加载并显示一个图片,居中显示 sprite.loadImage("atlas/comp/image.png", null); sprite.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); // 添加到舞台 Laya.stage.addChild(sprite); 3.2.2 set texture /** * 设置一个Texture...
来源: Laya3.0_文档 发布时间: 20251010
...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929
...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...适配,showall 为啥不能显示超出部分,fixeheight 为啥不能居中? 问题状态 最新活动: 2024-06-04 10:09 浏览: 5901 关注: 3 人 Tony666 • 2020-04-10 20:35 Demo已经提交,抽空请测试。 Tony666 • 2020-04-11 13:39 iPhone XR
来源: Laya_社区 发布时间: 20200410