大约有 238 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0065 秒)
...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
...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...
来源: laya_api 发布时间: 20170929
...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...
来源: laya_api 发布时间: 20170929
...用cacheAs代替。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Component centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(以...
来源: laya_api 发布时间: 20170929
...显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标。 sprite.pivotY = 0;//设置 sprite 对象的...
来源: Laya3.0_api 发布时间: 20231115
...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...
来源: Laya2.0_api 发布时间: 20190513
...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...
来源: Laya2.0_api 发布时间: 20190513
...enterX Defined in laya/ui/UIComponent.ts:226 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:230 在父容器中,此对象的水平方向...
来源: Laya3.0_api 发布时间: 20231115
...nderTarget支持。 Sprite centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 UIComponent centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心线的距离(...
来源: Laya2.0_api 发布时间: 20190513
...;; //不缩放 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