大约有 54 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
...prite popupCenter : Boolean = true 一个布尔值,指定对话框是否居中弹。 如果值为true,则居中弹出,否则,则根据对象坐标显示,默认为true。 Dialog popupEffect : Handler 弹出对话框效果,可以设置一个效果代替默认的弹出效果,如果不...
来源: laya_api 发布时间: 20170929
...认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "top" :居顶部对齐; "middle" :居中对齐; "bottom" :居底部对齐; Stage alpha :...
来源: laya_api 发布时间: 20170929
...认值为"left"。 取值范围: "left" :居左对齐; "center" :居中对齐; "right" :居右对齐; Stage alignV : String 垂直对齐方式。默认值为"top"。 取值范围: "top" :居顶部对齐; "middle" :居中对齐; "bottom" :居底部对齐; Stage alpha :...
来源: Laya2.0_api 发布时间: 20190513
...LOGO,弹出提示框等。我们可以通过centerX、centerY进行位置居中设置,如图5-1、5-2所示。 (图5-1) (图5-2) ## 4、旋转及缩放属性 旋转及缩放属性在游戏UI中,特别是在IDE制作动画时经常...
来源: Laya2.0_文档 发布时间: 20210714
...LOGO,弹出提示框等。我们可以通过centerX、centerY进行位置居中设置,如图5-1、5-2所示。 (图5-1) (图5-2) ## 4、旋转及缩放属性 旋转及缩放属性在游戏UI中,特别是在IDE制作动画时经常...
来源: Laya2.0_文档 发布时间: 20210715
...LOGO,弹出提示框等。我们可以通过centerX、centerY进行位置居中设置,如图5-1、5-2所示。 (图5-1) (图5-2) ## 4、旋转及缩放属性 旋转及缩放属性在游戏UI中,特别是在IDE制作动画时经常...
来源: Laya2.0_文档 发布时间: 20210714
...lob([uint8Array], { type: 'image/png' })); img.centerX = 0; // 设置图片居中显示 // 将图片添加到舞台显示 Laya.stage.addChild(img); } else { console.log("收到数据:", message); } } private onConnectError(): void { console.log("Connection Error"); } } 运行效果如图3-1所示。...
来源: Laya3.0_文档 发布时间: 20251010
...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component an...
来源: laya_api 发布时间: 20170929
...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX...
来源: Laya2.0_api 发布时间: 20190513
...平显示方式。 取值: "left": 居左对齐显示。 "center": 居中对齐显示。 "right": 居右对齐显示。 Text alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929