大约有 238 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
...;; //不缩放 fixedauto showall Laya.stage.alignH = "center"; //水平居中 Laya.stage.alignV = "middle"; //垂直居中 this.init(); } init():void{ let btn:Laya.Button=new Laya.Button(); btn.label="AAAAAA"; btn.pos(200,200); Laya.stage.addChild(btn); btn.on(Laya.Even...
来源: Laya_社区 发布时间: 20171128
...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...
来源: Laya2.0_api 发布时间: 20190513
...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...
来源: laya_api 发布时间: 20170929
...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...
来源: laya_api 发布时间: 20170929
...e{ Laya.init(800, 600); Laya.stage.bgColor = null;//背景透明 } //画布水平居中对齐 Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; //画布垂直居中对齐 Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; //设置适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //设置横竖屏 L...
来源: Laya_社区 发布时间: 20170627
...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...
来源: Laya2.0_api 发布时间: 20190513
...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...
来源: Laya2.0_api 发布时间: 20190513
...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...
来源: laya_api 发布时间: 20170929
...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...
来源: laya_api 发布时间: 20170929
...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...
来源: Laya2.0_api 发布时间: 20190513