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

大约有 901 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0077 秒)

431. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 71%]

... mat.b, c: mat.c, d: mat.d, tx: mat.tx, ty: mat.ty, w: this.width, h: this.height });         }; 2019-08-22 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 S_eVent 赞同来自: 非常感谢楼主,解决...

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

432. laya.map.GridSprite [ 71%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite  drawImageNum : ...

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

433. 求问sprite放大后,graphics绘制的图像位置偏移 [ 71%]

...n_img1); sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; let y: number = 100; let scaleRatio: number = 1.3; sprite.pos(x, y); // sprite.graphics.drawCircle(texture.width/2, texture.height/2, 10, "#fff333"); /...

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

434. laya.map.MapLayer_API3.0 [ 71%]

...tPrior layerName mouseThrough name tag tarLayer drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX g...

来源: Laya3.0_api 发布时间: 20231115

435. list 加载动画为什么实现的效果会错乱掉? [ 71%]

... var bounds = ani.getGraphicBounds(); ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya.List; function setup(effList) { var list = new List(); list.itemRender = Item1; list.repeatX = 3; list.repeatY = 4; list.x = (Laya.stage.width - ...

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

436. laya.particle.Particle2D [ 71%]

...口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。...

来源: laya_api 发布时间: 20170929

437. HTMLDivElement img 标签问题 [ 71%]

...题 做聊天图文混排 <img src='image/chat/face15.png' width='30px' height='30px'></img> 原图为81*81,第一次发,显示是81*81,第2次发就是30*30 图片非要预加载一次吗 附件 : --> 2017-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

438. laya.ui.DialogManager_API3.0 [ 71%]

...kLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX g...

来源: Laya3.0_api 发布时间: 20231115

439. laya.ui.Box [ 71%]

...e : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array...

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

440. laya.ui.ProgressBar_API3.0 [ 71%]

...。 progressBar.width = 200;//设置 progressBar 的宽度。 progressBar.height = 50;//设置 progressBar 的高度。 progressBar.sizeGrid = "5,10,5,10";//设置 progressBar 的网格信息。 progressBar.changeHandler = new Handler(this, onChange);//设置 progressBar 的value值改变时执行...

来源: Laya3.0_api 发布时间: 20231115