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

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

501. laya.ui.AdvImage_API3.0 [ 50%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in lay...

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

502. laya.ui.AutoBitmap [ 50%]

...texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void 加...

来源: laya_api 发布时间: 20170929

503. laya.ui.ScrollBar_API3.0 [ 50%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Defined in laya/ui/ScrollBar.ts:64 底部移动限制...

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

504. list点击label保留一种状态 [ 50%]

...屏蔽点击Dialog之外的区域关闭弹框 请问有没有方法能够获取“鼠标是否处于按下状态”? ui list 里面的元素不能点击两次 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 关于遍历产生的sprite...

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

505. laya.ui.UIGroup_API3.0 [ 50%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

506. 精灵 · LayaAir3.0文档 · LAYABOX [ 49%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

来源: Laya3.0_文档 发布时间: 20240528

507. 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 [ 49%]

...ir中如何使图片以圆形的方式显示? 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问laya有没有地图编辑器工具? Dialog:屏蔽点击Dialog之外的区域关闭弹框 请问在layaIDE里,怎么调用微信小程序API 请问下加载TFF字体要...

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

508. laya.ui.Tree_API3.0 [ 49%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

509. 分享:DrawToCanvas内存释放问题! [ 48%]

...ableScene.ZOOM_W, RouletteTableScene.ZOOM_TARGET_H, -offsetX, -offsetY); //获取截屏区域的texture this._texture = new Laya.Texture(this._htmlC); this._texture.bitmap.enableMerageInAtlas = false; this.zoomImg.graphics.clear(); this.zoomImg.graphics.drawTexture(this._texture, 0, 0, RouletteTable...

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

510. laya.ui.FontClip_API3.0 [ 47%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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