大约有 683 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0073 秒)
Laya_社区(327) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(38) Laya2.0_示例(19) Laya_示例(15)
... progressBar.value = 0.3;//设置 progressBar 的进度值。 progressBar.width = 200;//设置 progressBar 的宽度。 progressBar.height = 50;//设置 progressBar 的高度。 progressBar.sizeGrid = "5,10,5,10";//设置 progressBar 的网格信息。 progressBar.changeHandler = new Handler(this, o...
来源: Laya3.0_api 发布时间: 20231115
...链接 提交 1 个回复 cuixueying 赞同来自: (1)Iflash.setSize(width:int,height:int); 设置浏览器舞台的宽高。该值一般同步SWF(width="width",height="height") IFlash.setSize (600,600);//设置舞台宽为600,高为600; (2)IFlash. setBgcolor(value:String); 设...
来源: Laya_社区 发布时间: 20151204
...幕宽高为`375*667`。LayaAir引擎可以通过laya.utils.Browser.clientWidth和laya.utils.Browser.clientHeight来获取屏幕的宽与高。 **6、物理宽高:** 关于设备屏幕的物理宽高,我们需要先了解像素密度的概念。在PC电脑上,通常一个像素位置上就...
来源: Laya2.0_文档 发布时间: 20200307
...显示 Utils.fitDOMElementInArea=function(dom,coordinateSpace,x,y,width,height){ if (!dom._fitLayaAirInitialized){ dom._fitLayaAirInitialized=true; dom.style.transformOrigin=dom.style.webKittransformOrigin="left top"; 修改为...
来源: Laya_社区 发布时间: 20180113
...Through name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation glob...
来源: Laya3.0_api 发布时间: 20231115
...居中布局无效 一个文本,设置align=center,并且设置了宽度值width 但是发现一个问题,当这个文本较长,里面文本的宽度超出了文本框的width的时候,就不会居中了,实际效果看上去是左对齐。 一定要在给设置width的时候,考虑最长...
来源: Laya_社区 发布时间: 20170307
...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globa...
来源: Laya3.0_api 发布时间: 20231115
...中设置字体、颜色不同3.3 获取html文本的实际宽高(contextWidth、contextHeight)3.4 设置文本的水平居中对齐(align需要和width配合使用)3.5 实现超链接3.6 实现html页面跳转3.7 为HtmlDivElement设置行间距,leading属性,注意,必须设置valign=’...
来源: Laya3.0_文档 发布时间: 20230303
...置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的网格信息。 bg.width = 150;//设置 bg 对象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var image:Image = new Image("resource/ui/image.png");//创建一个 I...
来源: Laya3.0_api 发布时间: 20231115
...Memory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW blackTexture cpuMemory errorTexture gpuMemory grayTexture whiteTexture Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event gpuComp...
来源: Laya3.0_api 发布时间: 20231115