大约有 189 项符合查询结果, 库内数据总量为 30,964 项。 (搜索耗时: 0.0114 秒)
...prite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。View autoDestroyAtClosed : Boolean = false场景被关闭后,是否自动销...
来源: Laya2.0_api 发布时间: 20190513
...prite.scale(0.3,0.3); this._firstSprite.size(200,200); //this._firstSprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标。 //this._firstSprite.pivotY = 0;//设置 sprite 对象的垂直方法轴心点坐标。 //this._firstSprite.mouseEnabled = true; //给精灵添加点击事件-...
来源: Laya_社区 发布时间: 20200801
...prite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高...
来源: Laya2.0_api 发布时间: 20190513
...路径状态和属性。 Returns RestoreCmd rotate rotate(angle: number, pivotX?: number, pivotY?: number): RotateCmd Inherited from Graphics.rotate Defined in laya/display/Graphics.ts:374 旋转当前绘图。(推荐使用transform,性能更高) Parameters angle: number 旋转角度,以弧度...
来源: Laya3.0_api 发布时间: 20231115
...//设置 sprite 对象相对于父容器的垂直方向坐标值。 sprite.pivotX = 0;//设置 sprite 对象的水平方法轴心点坐标。 sprite.pivotY = 0;//设置 sprite 对象的垂直方法轴心点坐标。 Laya.stage.addChild(sprite);//将此 sprite 对象添加到显示列表。 sprite.on...
来源: Laya3.0_api 发布时间: 20231115
...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数...
来源: Laya2.0_api 发布时间: 20190513
...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数...
来源: Laya2.0_api 发布时间: 20190513
...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数...
来源: Laya2.0_api 发布时间: 20190513
...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数...
来源: Laya2.0_api 发布时间: 20190513
...Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数...
来源: Laya2.0_api 发布时间: 20190513