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

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

51. laya.ui.VBox [ 60%]

...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...

来源: laya_api 发布时间: 20170929

52. laya.ui.HBox [ 60%]

...x LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认...

来源: laya_api 发布时间: 20170929

53. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 60%]

...//画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loader.load(["../../../../res/ui/progres...

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

54. Image属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 59%]

...//画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage.alignH = Stage.ALIGN_CENTER; //等比缩放 Laya.stage.scaleMode = Stage.SCALE_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //创建图片 createImage(); } /***创建图片***/ private...

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

55. laya.ui.Dialog [ 59%]

...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...

来源: laya_api 发布时间: 20170929

56. laya.ui.VBox [ 58%]

...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...

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

57. laya.ui.HBox [ 58%]

...LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获...

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

58. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...选模板,能够在字符串中使用变量 对齐 align 对齐方式,水平对齐(align)分别是left(居左对齐)、center(居中对齐)、right(居右对齐);垂直对齐(valign)分别是top(居顶对齐)、middle(居中对齐)、bottom(居底对齐) 背景颜色 bgCo...

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

59. 可以分享一个满屏适配的代码么? [ 56%]

...//设置横竖屏 Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; //设置水平对齐 Laya.stage.alignH = "center"; //设置垂直对齐 Laya.stage.alignV = "middle"; 旧巷暖阳 • 2018-07-04 17:50 @cuixueying:兄弟我就是用这个但是在ipnnex上不居中这个有办...

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

60. 分享:Dragonbones/Spine的换肤操作 [ 56%]

...age.bgColor='#EEFFCC';//设置舞台背景色 Laya.stage.alignH='center';//水平居中对齐 Laya.stage.alignV='middle';//垂直居中对齐 Laya.stage.scaleMode='showall';//缩放模式 Laya.stage.screenMode='horizontal';//竖屏显示 templete=new Templet();//实例化动画模板 templete.loadAn...

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