大约有 160 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
...nt = 100; public function ImageRunTime() { //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Event.MOUSE_DOWN,this,scaleSmall); //添加鼠标抬起事件侦听。抬起时还原按钮。 this.on(Event.MOUSE_UP,this, sca...
来源: Laya2.0_文档 发布时间: 20210714
...认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponen...
来源: Laya2.0_api 发布时间: 20190513
....2的版本 Box不填宽和高 往Box里加个图片 设置图片锚点anchorX=0.5 anchorY=0.5 2016-11-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zfree 相关问题 请问laya有没有地图编辑器工具? 救命!canvas...
来源: Laya_社区 发布时间: 20161105
...eAndPos(name:string,posX:number,posY:number):void { this.name = name; this.anchorX = 0; this.anchorY = 0; this.x = posX; //这里是256*整数倍的叠加 每张图片都是256*256大小的地图块 this.y = posY; //这里是256*整数倍的叠加 每张图片都是256*256大小的地图块 this.isS...
来源: Laya_社区 发布时间: 20190315
...认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponen...
来源: Laya2.0_api 发布时间: 20190513
...认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponen...
来源: Laya2.0_api 发布时间: 20190513
...认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponen...
来源: Laya2.0_api 发布时间: 20190513
...认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponen...
来源: Laya2.0_api 发布时间: 20190513
...认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponen...
来源: Laya2.0_api 发布时间: 20190513
...is.progressvalue = new Laya.Image("Game/bar_yuan.png"); this.progressvalue.anchorX = 0.5; this.progressvalue.anchorY = 0.5; this.progressvalue.pos(15, 15); //记录宽度 this.width_x = this.progress.width + 3; this.vmask = new Laya.Sprite(); this.vmask.pos(15,15); this.vmask.graphics.drawPie(0, ...
来源: Laya_社区 发布时间: 20180725