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

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

61. laya.ui.Panel [ 65%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...

来源: laya_api 发布时间: 20170929

62. 动画加载成功后设置的描点,在电脑上运行正常,打包APK后到手机上运行,描点未生效 [ 65%]

....interval=interval;   private function onloaded():void { anin.pivotX=anin.getBounds().width/2; anin.pivotY=anin.getBounds().height/2; }   如上:动画加载成功后设置的描点,在电脑上运行正常,打包APK后到手机上运行,描点未生效,还是在原来的00点位置,...

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

63. laya.display.Text [ 65%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprit...

来源: laya_api 发布时间: 20170929

64. laya.ui.ProgressBar [ 65%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bar : Image[read-only] 获取进度条对象。 ProgressBar  bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定...

来源: laya_api 发布时间: 20170929

65. laya.display.Scene [ 65%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...

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

66. laya.ui.Box [ 65%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...

来源: laya_api 发布时间: 20170929

67. laya.ui.Tree [ 65%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...

来源: laya_api 发布时间: 20170929

68. laya.utils.PerfHUD [ 64%]

...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...

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

69. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 64%]

...边界也有多种做法,而其间差异很有必要知道。 1. 使用getBounds/ getGraphicBounds。 ```javascript var sp:Sprite = new Sprite(); sp.graphics.drawRect(0, 0, 100, 100, "#FF0000"); var bounds:Rectangle  = sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` ​ getBounds可...

来源: Laya2.0_文档 发布时间: 20210715

70. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 64%]

...边界也有多种做法,而其间差异很有必要知道。 1. 使用getBounds/ getGraphicBounds。 ```javascript var sp=new Laya.Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); var bounds:Laya.Rectangle=sp.getGraphicBounds(); Laya.stage.addChild(sp); ``` getBounds可以满足多数多数...

来源: Laya2.0_文档 发布时间: 20210715