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

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

201. laya.ui.VSlider_API3.0 [ 51%]

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

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

202. laya.display.Graphics [ 51%]

...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...

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

203. laya.ani.swf.MovieClip_API3.0 [ 51%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 basePath basePath: string Defined in laya/ani/swf/MovieClip.ts:71 资源根目录。 hitTestPrior h...

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

204. laya.ui.Slider_API3.0 [ 51%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默...

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

205. laya.ui.Label_API3.0 [ 51%]

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

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

206. 屏幕适配的缩放模式详解(JavaScript-2D基础篇(JS)-屏幕适配) [ 51%]

...通过laya.utils.Browser.clientWidth和laya.utils.Browser.clientHeight来获取屏幕的宽与高。 **6、物理宽高:** ​ 关于设备屏幕的物理宽高,我们需要先了解像素密度的概念。在PC电脑上,通常一个像素位置上就是一个物理像素。在移动设备高...

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

207. laya.ui.HScrollBar_API3.0 [ 51%]

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

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

208. laya.ui.VScrollBar_API3.0 [ 51%]

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

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

209. laya.ui.ComboBox_API3.0 [ 51%]

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

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

210. laya.display.AnimationBase_API3.0 [ 51%]

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

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